Hi,
I'm currently trying to port the FreeRTOS on the TMS570LC4317 Launchpad board. I have used HALCoGEN generated files. I feel that the use of SWI interrupts is unclear to me.
The SWI interrupt- vPortYeildProcessor is directly mapped to the interrupt vector for software interrupt. Look at the image below taken from the HL_sys_intvecs.asm file
Now the FreeRTOS code has some functions mapped to the Software interrupt vector as well using a SWI_ALIAS pragma of the TI compiler. Look at the code provided in the os_portmacro.h
1) It seems that whenever there is a call to this particular function it gets mapped to the vPortYieldProcessor ISR instead of the vPortEnterCritical ISR. I feel that the Software Interrupt shouldn't be directly mapped to the vPortYeildProcessor ISR if SWI_ALIAS is to be used. Please advise on this.
2) Additionally the vPortEnterCritical function is declared but there is no corresponding function written in any of the files generated by HalCoGEN.
3) I was also wondering if you guys have a working port of FreeRTOS on the TMS570LC4357.
Regards,
Umang