Tool/software: Code Composer Studio
We are trying to adapt the i2ctmp116_CC2640R2_LAUNCHXL_tirtos_ccs project to work with our own board. It uses a smaller CC2640R2 package with less GPIOs, and when we try to run the code on our board it gets an error inside Board_init() and gets stuck at a while(1);
In trying to debug the problem by using single step through the section of code that gives the error (PIN_NO_ACCESS), it jumps around to different lines of code, which normally means that the compiler had optimized the code in that file. It would be good to rebuild the file without the code being optimized, so that single step acts normally.
The file is called PINCC26XX.c. Can we change a build option somewhere to change the compile option so that the file will be compiled unoptimized? If so, where is that information located, and how can we change it to make the file be compiled unoptimized?
Thanks for any help you can give.
Dan Benkman
Innowave