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:
A fork of FreeRTOS:
Other repo regarding RL78 FreeRTOS examples (CC-RL/ICCRL78/GNURL78, CS+/EWRL78/e2 studio):
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?
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.