Hello,
we’ve updated freertos in our project from 10.x to V11.0.1. After this update, our application doesn’t start anymore. I’ve analyzed the changes and found that kernel commit 30e6b8a5ead added changes to the cortex M4F port that check for correctly installed interrupt handlers (in my case “GCC/ARM_CM4F/port.c” line 343 and 344. In my case, the check in line 344
configASSERT( pxVectorTable[ portVECTOR_INDEX_PENDSV ] == xPortPendSVHandler );
w w w g i t h u b . c o m / FreeRTOS/FreeRTOS-Kernel/blob/0240cd55f20be7100439b606086709b74a105cb1/portable/GCC/ARM_CM4F/port.c#L344
fails. When I remove this line my application starts as expected and run (seemingly) fine. I’ve installed the handlers as explained in this faq for CMSIS: w w w . f r e e r t o s . o r g / FAQHelp.html
FreeRTOSConfig.h
#define xPortPendSVHandler PendSV_Handler
Any idea what I might be doing wrong? I don’t want to just disable the check because it “works for me” but understand why it fails.
Thank you for your help!
ps: sorry for broken links, for some reason posting links as new member is not allowed…