FreeRTOS ported to RL78 & RH850 : sample projects on GIT

Hello Dinesh,

First of all, please don’t be angry with me. I’ll post pull requests of RL78 port (CC-RL/ICCRL78/GNURL78) and RL78 FreeRTOS Demo (CS+/EWRL78/e2 studio) during this spring. My repos are here.

A fork of FreeRTOS kernel:

https://github.com/NoMaY-jp/FreeRTOS-Kernel/tree/master/portable/Renesas/RL78
https://github.com/NoMaY-jp/FreeRTOS-Kernel/tree/master/portable/IAR/RL78
https://github.com/NoMaY-jp/FreeRTOS-Kernel/tree/master/portable/GCC/RL78

A fork of FreeRTOS:

https://github.com/NoMaY-jp/FreeRTOS/tree/master/FreeRTOS/Demo/RL78_RL78G14_FPB_Renesas_e2studio_CS+
https://github.com/NoMaY-jp/FreeRTOS/tree/master/FreeRTOS/Demo/RL78_RL78G14_FPB_IAR_e2studio_EWRL78
https://github.com/NoMaY-jp/FreeRTOS/tree/master/FreeRTOS/Demo/RL78_RL78G14_FPB_GCC_e2studio

Other repo regarding RL78 FreeRTOS examples (CC-RL/ICCRL78/GNURL78, CS+/EWRL78/e2 studio):

https://github.com/NoMaY-jp/FreeRTOS_examples_for_Renesas_R_CPUs

Advantage of this RL78 port than the official RL78 port:

(1) Non FreeRTOS nested interrupts are available. (‘Non FreeRTOS interrupts’ means that its ISRs don’t call any FreeRTOS APIs)
(2) Interrupt dedicated stack is available. (for both FreeRTOS interrupts and non FreeRTOS interrupts)

These features are intended to solve the following issues which were mentioned in the following thread.

(1) RL78 port doesn’t permit interrupt nesting. (This might be a big problem for your BLDC motor control application.)
(2) RL78 port (to be more accurate, RL78 itself) doesn’t have dedicated interrupt stack. (So every stack must have additional space for ISR.)

Anyone have experience with RL78 port on e2 studio IDE and native compiler instead of IAR?
https://forums.freertos.org/t/anyone-have-experience-with-rl78-port-on-e2-studio-ide-and-native-compiler-instead-of-iar/10628

And one more advantage of this RL78 port than the official RL78 port:

(3) It is easy to use the port with C source code which are generated by the Renesas RL78 code generator.

Best regards,
NoMaY