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.
Tool/software: TI C/C++ Compiler
Hi,
I am using CCSv7, when i increase compiler optimization level to high, the simple super loop (infinite loop) to blink is skipped and cursor goes to return statement in main function. Is there a way to tell the compiler not to skip the infinite loop??? or is it debugging configuration issue like full debug, symbol debug etc.
int main () {
initGPIO();
while (1) {
GPIO_Val_Reg ^= 1;
}
return 0;
}
The only way to advance the issue is with a test case. Please submit one.
Thanks and regards,
-George