This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using SDK 15.0 and FreeRTOS 8.2.1 - stack overflow in Idle task

Hi, I am using SDK 15.0.0 and FreeRTOS 8.2.1 (from SDK 14.2.0).

I consistently get a stack overflow on the Idle task, caused by PendSVHandler in port.c

This can be easily solved by increasing Idle task stack (configMINIMAL_STACK_SIZE), but I worry why is this happening in the first place?

Just-before screenshot:

just-after screenshot:

FreeRTOSConfig.h:

FreeRTOSConfig.h

Parents Reply
  • Elkana,

    The thing is that i am not getting stack overflow in our examples. I believe you that you have not made any changes to the idle task but still able to trigger the stack overflow, which smells like a bug somewhere. In order for us to be able to fix it, we need to be able to reproduce it. I will send your recommendations to the team so that they also attempt to replicate the bug.

Children
No Data
Related