It looks like I have no influence on the optimization level when i change the:
"CFLAGS=" -Og,-O0 ,... and so on. in the make file. What i have to do exactly?
Change the Make file, save, recompile all ? Or i do missing something?
Do you have a step by step manuel to change optimization level?
for example: the "test" var is always optimized out: --> for my understanding this must not happen with -O0
uint8_t test = 0;
/* Initialize the device and board peripherals */
result = cybsp_init() ;
if (result != CY_RSLT_SUCCESS)
/* Enable global interrupts */
Solved! Go to Solution.