A:
static char msg[]="System started!\r\n";
//发送启动测试信息
void MSg_sendStartMsg()
{
ComSndBytes_CSL_COM1(msg,sizeof(msg)-1);
}
B:
//发送启动测试信息
void MSg_sendStartMsg()
{
char msg[]="System started!\r\n";
ComSndBytes_CSL_COM1(msg,sizeof(msg)-1);
}
上面A B两种写法, ComSndBytes_CSL_COM1只是发送数组
A种写法运行不报错,B种写法bios一运行就提示
ti.sysbios.knl.Task: line 368: E_stackOverflow: Task 0xc2334750 stack overflow.
xdc.runtime.Error.raise: terminating execution
B种写法 栈已经改的很大了
