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.
my test
only task1 run. the program is ok.
but task1 and task2 run together. the program have stack over in task1.
Have a bug in RTX, or ARM C lib?