Tag Archives: NORDIC52832 ASSERTION FAILED

app: ASSERTION FAILED at D:\Cleaver\rf\test\nRF5_SDK_17.1.0_ddde560\external\freertos\source\tasks.c:2012

FreeRtos creates three tasks

<error> app: ASSERTION FAILED at D:\Cleaver\rf\test\nRF5_SDK_17.1.0_ddde560\external\freertos\source\tasks.c:2012

 

Sometimes it appears in timer.c

Because there is not enough stack space, when creating tasks, allocate a little less

xTaskCreate(aw2016_rgb_control, "AW2016_RGB_CONTROL", configMINIMAL_STACK_SIZE + 100, NULL, 1, &aw2016_rgb_task_handle);

 

How to Solve:

The previous error was configMINIMAL_STACK_SIZE + 200, change it to 100 and there is no more error