Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


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\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\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
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 and the Renesas's RX standard toolchain version
I believe that the examples where built using RX toolchain version 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

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


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

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


RE: Unable to compile RX62N book examples

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


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.


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

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





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

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

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner