Menu

#53 wrong configASSERT in xTaskGenericCreate()

closed-fixed
nobody
None
5
2014-03-10
2012-08-08
Anonymous
No

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 ) );

Discussion

  • Richard

    Richard - 2012-08-14

    Included in V7.2.0

     
  • Richard

    Richard - 2012-08-14
    • status: open --> closed
     
  • Richard

    Richard - 2012-08-14
    • status: closed --> closed-fixed
     
  • Marc Lindahl

    Marc Lindahl - 2014-03-10
     

    Last edit: Marc Lindahl 2014-03-10

Log in to post a comment.