I built a TM4C "printf" project using Tiva-C launchpad. Strange enough, the printf() without "%d" works OK and I can see the text in console, while any printf() with "%d" or whatever "%*", the console just stops at previous character before the %.
For ex:
printf("\n\tHello world\n"); //works OK, console shows "Hello world"
printf("\n\tPrintf Test using Ti CCSv6"); // works OK, console shows "Printf Test using Ti CCSv6"
printf("cc = %c %d %#x\n",cc,cc,cc); // Not working, console just stop at "cc= "
I tried to set both the heap & stack size to 2048 in CCS linker option, but no luck.
I can attach complete CCS v6 project files here, but don't know how to do it.
Looking forward to any solution and/or hint to fix this issue. Thanks in advance.
ps: If case anyone wonders, UART initialization and baud rate is not the issue.,
Eric