CTL "main" stack overrun?
I am running on a EFM32 Giant Gecko with Crossworks v3.7.7.2017051100.31927. I have 6 tasks running and one of my static boolean variables is being over written erroneously. I only change this value in one place and I have a break point set there. It only executes once where it is cleared. Later, it is being set somehow.
When I look at the threads window I see that my main task has -8 in the Stack Left column. All my other task stacks are good. How accurate is this value? Assuming it is accurate, I am wondering how I can increase the stack space for the "main" task? I have tried increasing the Heap size and Stack size in the User/System Mode fields in the Solution Properties with no change. Main is different than the other tasks in that you don't have to reserve space for it. Confused about how this works for main.
Please sign in to leave a comment.
Comments
2 comments