This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI C/C++编译器
您好,
我正在使用CCSv7,当我将编译器优化级别提高到高时,将跳过简单的超级循环(无限循环)来闪烁,光标转到main函数中的return语句。 是否有办法告诉编译器不要跳过无限循环???? 还是调试配置问题 (如完全调试,符号调试等)
int主(){
initGPIO ();
而(1){
GPIO _Val_Reg ^= 1;
}
返回0;
}
解决此问题的唯一方法是使用测试事例。 请 提交一份。
谢谢,此致,
-George