I am trying to use the xSemaphoreGiveFromISR() routine under FreeRTOS. From what I can tell from the FreeRTOS documentation is that I need to change the hardware priority level to something other than the default in order for this to work.
How can I do this? (Where can I find the appropriate documentation?)
Thanks.
解決済! 解決策の投稿を見る。
Digging through the core_cm4.h file, I found that
NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
does what I need. I set the priority level to 7 (anything other than the default of 0) and now I am able to correctly execute the xSemaphoreGiveFromISR() routine.
Digging through the core_cm4.h file, I found that
NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
does what I need. I set the priority level to 7 (anything other than the default of 0) and now I am able to correctly execute the xSemaphoreGiveFromISR() routine.
David
I had this problem too, thanks for the tip
Joe