cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler optimization option

Damiano Balzani
Associate III
Posted on July 06, 2018 at 15:40

Hi everyone,

i'm compiling all my projects using ARM Compiler Version 5.06 with these compiler options: 

armCCothers_dbg := --cpu=$(processor) --fpmode=none --apcs=/interwork -g -O2 -Ospace -c --feedback=feedback.txt

i need to compile one file with -00 optimization!

How can i do?

Thanks in advance

Damiano

#arm-compiler
1 REPLY 1
David SIORPAES
ST Employee
Posted on July 06, 2018 at 16:13

There are specific armcc pragmas to accomplish optimization level overriding at function or file level.

See 

http://www.keil.com/support/docs/3704.htm