This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am currently working on porting FreeRtos to the RM4 board. There is a tutorial in Halcogen Help File that shows how to do the FreeRtos + RM4 integration ("example_freeRTOSBlinky.c" example) . However there are some points in the tutorial that are not clear to me:
1. Regarding the configuration of Cortex-R4F IRQ handling (in Step 3), why do we need to disable the IRQ Handling via VIC Controller?
2. Regarding the configuration of Interrupt handling (in Step 4),
- Why do we need to enable the SVC and set it handler name to "vPortYieldProcessor"? What does vPortYieldProcessor do?
-Why do we need to select the IRQ dispatcher mode? What is "_isrStub"?
Hope you can enlighten me about these. I'm still new to Freertos+RM4 integration. Thanks.
Regards,
Dennis
Dennis,
We are looking into this. Our halcogen SME will get back to you on this
Hercules Forum support
Dennis,
1) It is just an eaxmple, ofcourse you can use VIC.
2) - vPortYieldProcessor can be used for save and switch context
- "_isrStub" can be ignored if VIC is enabled. It more or less do the same job, Branch to the ISR address.
Regards
Prathap
Note FreeRTOS V7.3.0 included an official port and demo applications for the RM4x and TMS570:
http://www.freertos.org/Free_RTOS_for_TI_RM48_and_TMS570.html