i am using nxp rt1176 EVKB in that” #define configMAX_PRIORITIES 5 “ is set in rtos config file if i want to increase that it is possible or not if possible which changes are happened in background.
Yes, that is fine to change. I don’t think it has any unexpected side effects.
If you want to see the result, how your tasks execute, you can try our free-of-charge tracing tool Percepio View. See Download View | Traceviewer
What is the maximum number of priorities we can give.
FreeRTOS maintains separate task lists for each priority level, meaning that increasing the number of priority levels will result in a slight increase in RAM usage.
If you configure more than 32 priority levels, you won’t be able to utilize configUSE_PORT_OPTIMISED_TASK_SELECTION optimization, which uses a single assembly instruction for selecting the highest-priority task. This limitation will negatively impact performance. Therefore, it’s usually recommended to keep the number of priority levels at 32 or fewer.
