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.

--opt_level=3

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hi,

I am using the Omap-L138 LCDK kit ,and setting the optimzation "--opt_level=3 ", in eclipse tool. and omap l138 starterware examples.

I will be receiving Data on Uart1 port in ISR mode. Once i receive the block of data ( 22 byte),  I need to call a function.

while(u16NumreceivedBytes  < 22):

u8Result = function;

If the "Optimzation level" is "disabled" in eclipse tool, The code behave properly.

If the "Optimzation level" is "3" in eclipse tool, The code miss behave( u16NumreceivedBytes more than 22 , the code does not going to next statement. i.e u8Result = function).

Please help in this regard.