Hello All,
I am also stuck in porting the FreeRTOS on RL78 Renesas MCU. I am using IAR version 4.2 and FreeRTOS 10.3.1 . Initially my demo code was for R5F100LEA(RL78_RL78G13_Promo_Board_IAR). I had the below lines which were giving the error in in “port87.asm” file.
COMMON INTVEC:CODE:ROOT(1)
ORG configTICK_VECTOR
DW vPortTickISR
COMMON INTVEC:CODE:ROOT(1)
ORG 126
DW vPortYield
Afterwards I have changed the above instructions to the below.
ASEGN .intvec
:CODE:ROOT,56
DATA16
DC16 vPortTickISR
ASEGN .intvec
:CODE:ROOT,126
DATA16
DC16 vPortYield
Now again errors are coming mentioned below.
Error[Li005]: no definition for “vRegTestError” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\RegTest.o]
Error[Li005]: no definition for “usCriticalNesting” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\portasm.o]
Error[Li005]: no definition for “pxCurrentTCB” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\portasm.o]
Error[Li005]: no definition for “xTaskIncrementTick” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\portasm.o]
Error[Li005]: no definition for “vTaskSwitchContext” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\portasm.o]
Error[Li005]: no definition for “_vRegTest1” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\main.o]
Error[Li005]: no definition for “_vRegTest2” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\main.o]
Error[Li005]: no definition for “_vPortStartFirstTask” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\port.o]
Error[Li005]: no definition for “_vTaskDelayUntil” [referenced from C:\Users\Anmol Arora\FreeRTOSv10.3.1\FreeRTOSv10.3.1\FreeRTOS\Demo\
RL78_RL78G13_Promo_Board_IAR\Debug\Obj\blocktim.o]
Error[Lp011]: section placement failed
unable to complete “place at” directives with a total estimated minimum size of 0x7c bytes in <[0x4-0x37]> (total space 0x34).
Error[Lp015]: section placement failure: overcommitted content in [0x4-0x37]
Error while running Linker
The above errors are saying that the mentioned variables(vRegTestError) are undefined portasm.o . When I am opening this file “portasm.o”, its not written in C, its an output of compiler file. Please tell how can I remove these errors.
Best Regards
Anmol Arora