AnsweredAssumed Answered

FreeRTOS stack size and printing

Question asked by Rahul Udasi on Jan 27, 2017
Latest reply on Jan 28, 2017 by Erich Styger

I have a motor control project using freertos to do some debug printing. I would print some float variables in a debug task. I created a new project with the same code just in a different location for the same board and my printf in my freertos debug task would print a few characters then stop. I have looked over both project compile and linker settings and they are the same. After some debugging I found that increasing the stack size of my debug task from 100 to 200 fixed the print issue. 


I am not sure why the original project with a 100 stack size prints fine but the new one which in theory is exactly the same requires 200. I have float printing enabled. Any suggestions?