Hai, I am using LPC2119 microcontroller. I want to print some variable value in LCD. When i use
sprintf(lcd_buf,"Value = %03d",x);
for getting a value in buffer then print it. It is working properly without using RTX Kernel. But when i initiate the kernel and use this sprintf inside a task, it get stuck. Please help me.
Check the stack size for the task. sprint can be relatively greedy.
Thanks a lot.... Stack size is defined in RTX_Config.c file as
#ifndef OS_STKSIZE #define OS_STKSIZE 50 #endif
. I changed it from 50 to 100. Now it is working... Thank you....