Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

Unable to compile RX62N book examples

Posted by halherta on June 8, 2012
I recently purchased the RX62N version of the "Using the FreeRTOS Real Time Kernel - A Practical Guide" textbook and downloaded the book examples from the site. after unzipping the file I opened the workspace containing all the examples. When building any example I get the following output:

Phase RX C/C++ Compiler starting
C:\WorkSpace\source-code-for-RX62N-examples\Examples\Example001\main.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\demo_code\basic_io.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\demo_code\tick_timer_setup.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\list.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\portable\MemMang\heap_2.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\portable\Renesas\RX600\port.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\queue.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\tasks.c
C:\WorkSpace\source-code-for-RX62N-examples\RenesasCode\application_entry_and_vector_table.c
C:\WorkSpace\source-code-for-RX62N-examples\FreeRTOS_Source\portable\Renesas\RX600\port.c(255) : A2029 (E) Invalid description in #pragma inline_asm function
C:\WorkSpace\source-code-for-RX62N-examples\RenesasCode\lowsrc.c
C:\WorkSpace\source-code-for-RX62N-examples\RenesasCode\application_entry_and_vector_table.c(55) : C5167 (W) Argument of type "unsigned long" is incompatible with parameter of type "void *"
Phase RX C/C++ Compiler finished

Phase RX Assembler starting
C:\WorkSpace\source-code-for-RX62N-examples\RenesasCode\lowlvl.src
Phase RX Assembler finished

Phase OptLinker starting
Error accessing file: C:\WorkSpace\source-code-for-RX62N-examples\Examples\Example001\Debug\port.obj
Phase will not be executed
Phase OptLinker finished

Build Finished
2 Errors, 1 Warning

}


I'm using HEW Version 4.09.00.007 and the Renesas's RX standard toolchain version 1.2.0.0.
I believe that the examples where built using RX toolchain version 1.0.1.0 and that perhaps something was change on the toolchain side. I was wondering if anyone here had experienced this problem before and if there is a possible solution.

Thank you
halherta

RE: Unable to compile RX62N book examples

Posted by Richard on June 8, 2012
You are indeed correct that the issues is caused by the compiler version number change. The latest FreeRTOS version has been updated to account for this, but the files you received with the book appear not to have been - apologies for this. If you download the latest FreeRTOS version from SourceForge, you can then copy the RX62N port layer files from

FreeRTOS\Source\portable\Renesas\RX600

into the equivalent directory(s) in the book examples.

I will make sure the master copy of the book examples get updated too!

Regards.

RE: Unable to compile RX62N book examples

Posted by halherta on June 8, 2012
Richard,
I managed to get the GNURX FreeRTOS demo working. I'd appreciate it if you could update the book examples.
Thank you!

halherta

RE: Unable to compile RX62N book examples

Posted by Richard on June 11, 2012
The book examples for the RX600 using the Renesas compiler have been updated to use the V1.2.0 compiler, and FreeRTOS 7.1.1.

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists