warning #10210-D: creating ".stack" section with default size of 0x400; use the -stack option to change the default size
warning #10210-D: creating ".sysmem" section with default size of 0x400; use the -heap option to change the default size
在ccs中出现如上警告,且在运行后,printf打印的字符不完整且乱码时,是因为堆栈太小,修改堆栈的大小即可解决。在cmd文件中堆栈默认为0x400,本此在cmd中添加
-stack 0x1000
-heap 0x1000