Unable to compile RX62N book examples

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:WorkSpacesource-code-for-RX62N-examplesExamplesExample001main.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_Sourcedemo_codebasic_io.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_Sourcedemo_codetick_timer_setup.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_Sourcelist.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_SourceportableMemMangheap_2.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_SourceportableRenesasRX600port.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_Sourcequeue.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_Sourcetasks.c
C:WorkSpacesource-code-for-RX62N-examplesRenesasCodeapplication_entry_and_vector_table.c
C:WorkSpacesource-code-for-RX62N-examplesFreeRTOS_SourceportableRenesasRX600port.c(255) :  A2029 (E) Invalid description in #pragma inline_asm function
C:WorkSpacesource-code-for-RX62N-examplesRenesasCodelowsrc.c
C:WorkSpacesource-code-for-RX62N-examplesRenesasCodeapplication_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:WorkSpacesource-code-for-RX62N-examplesRenesasCodelowlvl.src
Phase RX Assembler finished
Phase OptLinker starting
Error accessing file: C:WorkSpacesource-code-for-RX62N-examplesExamplesExample001Debugport.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

Unable to compile RX62N book examples

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 FreeRTOSSourceportableRenesasRX600 into the equivalent directory(s) in the book examples. I will make sure the master copy of the book examples get updated too! Regards.

Unable to compile RX62N book examples

Richard,
I managed to get the GNURX FreeRTOS demo working. I’d appreciate it if you could update the book examples.
Thank you! halherta

Unable to compile RX62N book examples

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.