I use printf in a thread. like the following code:
void task1(void) { while(1) printf("hello!\n"); }
void task2(void) { while(1); }
Finally, the program run in to OS_ERR_STK_OVF.
But Moshe, using "--info=summarystack" in the linker tab will generate a lot of useful stack usage related statistics...
Tamir