wrong configASSERT in xTaskGenericCreate()
Market leading real time kernel for 40+ microcontroller architectures
Brought to you by:
gaurav-aws,
rtel
Assertion configASSERT( ( uxPriority < configMAX_PRIORITIES ) ) fails when portPRIVILEGE_BIT is set. (Freertos internal idle task also runs with this bit set.)
Solution:
configASSERT( ( (uxPriority & (~portPRIVILEGE_BIT)) < configMAX_PRIORITIES ) );
Included in V7.2.0
Last edit: Marc Lindahl 2014-03-10