Assembler Build Errors in FreeRTOS Demo using RL78 (IAR EW v7.4)

gerlad0 wrote on Thursday, November 10, 2016:

Hopefully someone can tell me how to resolve assembler errors in FreeRTOS Demo for Renesas RL78.
Using:
IAR EW for RL78 Version 2.21.2
IAR EW Version 7.4.1.4269
FreeRTOS Version 8.2.3
RTSDemo - YRPBRL78G13 (YRPBRL78G13 is #defined).

An example of the error messages:
ExampleISR.s87
Error[As078]: Directive COMMON not supported in ELF mode. C:\FreeRTOSV8.2.3\FreeRTOS\Demo\RL78_multiple_IAR\ExampleISR.s87 125
Error[As078]: Directive ORG not supported in ELF mode. C:\FreeRTOSV8.2.3\FreeRTOS\Demo\RL78_multiple_IAR\ExampleISR.s87 130
Error while running Assembler

rtel wrote on Thursday, November 10, 2016:

Perhaps the assembler syntax has changed between compiler versions. I
would recommend checking the change history for the compiler. Let us
know what you find.

gerlad0 wrote on Thursday, November 10, 2016:

Appears that these two Assembler Directives were obsoleted in the transition form IAR v4.x to v5.x. IAR current version is now at v7.5. Would be useful if the Assembler files for the FreeRTOS Demo for RL78 processors were updated to work with the current Assembler.
Thanks for your interest!!

rtel wrote on Thursday, November 10, 2016:

Thanks for the information. Please post the necessary updates so the
files can be updated in the repository.

gerlad0 wrote on Thursday, November 10, 2016:

https://www.iar.com/support/tech-notes/assembler/absolute-placement-ewarm-5.x--6.x-in-assembler-source/