Skip to main content
Explorer II
December 2, 2024
Question

FreeRTOS CMSIS2 STM32F407VET

  • December 2, 2024
  • 0 replies
  • 475 views

FreeRTOS is not started, failed on configASSERT( ( portMAX_PRIGROUP_BITS - ulMaxPRIGROUPValue ) == configPRIO_BITS ); port.c 346

It's working if change #define configPRIO_BITS from 4 to 3 in FreeRTOSConfig.h

In datasheet: NVIC; 16 programmable priority levels (4 bits of interrupt priority are used)

Code generator STM32CubeIDE and STM32CubeMX - the same result.

Screenshot_2024-12-02_14-06-23.png

    This topic has been closed for replies.