Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

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

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

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


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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