Skip to main content
Damiano Balzani
Associate II
July 6, 2018
Question

Compiler optimization option

  • July 6, 2018
  • 1 reply
  • 839 views
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
    This topic has been closed for replies.

    1 reply

    David SIORPAES
    ST Employee
    July 6, 2018
    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