PrevNextUpHome SophiaFramework UNIVERSE 5.3

28.2. ARM Compiler

28.2.1. ARM Compiler Option

28.2.1.1. LFLAGS Option

Example 28.3. Set to minimize the application size after linking

# before changing
LFLAGS = $(ROPILINK) -rwpi -entry 0x8000#

# after changing
LFLAGS = $(ROPILINK) -rwpi -entry AEEMod_Load#0x8000#

28.2.1.2. OPT Option

Example 28.4. Set to expand the inline function to its maximum

# before changing 
OPT = -Ospace -O2                     # Full compiler optimization for space

# after changing
OPT = -Ospace -O2 --no_inlinemax      # Full compiler optimization for space

28.2.1.3. DBG Option

Example 28.5. Set to make the speed of ARM compiler fast

# before changing
DBG = -g                        # Enable debug

# after changing
DBG = -g-                       # Enable debug
[Note] Note
Debug information will not be outputted with the above setting.