I’d like to use xQueueSendFromISR() inside vApplicationTickHook(). But, how does the task preemption flag pxHigherPriorityTaskWoken get passed back to the kernel, since vApplicationTickHook() has a void return value?
There definitely seems to be utility in this change. At the very least we now know that at least one person finds this useful (aka you ). I agree this isn’t a backwards compatible change but it can be something we keep in mind for future versions of FreeRTOS.
For now, patching for your project makes the most sense.
yes can call portEND_SWITCHING_ISR before can be acceptable solution also
(our portYIELD for cortex CM4/CM7 have extra memory Barriers so then executed multiple time?)
Thank for your feedback
(I mixing 2 task manager, one basic custom made for cheap bare metal project
And with bigger project this have to work combined with freertos)