diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-15 13:50:56 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-15 13:50:56 +0100 |
commit | 75bc8136b1d1d773a5664a226b5b766867fe5ff3 (patch) | |
tree | 38c7b04da36c75b942fbbe5bf0450b1e34fc1f2f /nuttx-configs/px4io-v1/nsh/Make.defs | |
parent | d4a5f345aabc83506b05277b9dcf71e24700c70d (diff) | |
download | px4-firmware-75bc8136b1d1d773a5664a226b5b766867fe5ff3.tar.gz px4-firmware-75bc8136b1d1d773a5664a226b5b766867fe5ff3.tar.bz2 px4-firmware-75bc8136b1d1d773a5664a226b5b766867fe5ff3.zip |
Build NuttX optimized for size
Diffstat (limited to 'nuttx-configs/px4io-v1/nsh/Make.defs')
-rw-r--r-- | nuttx-configs/px4io-v1/nsh/Make.defs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx-configs/px4io-v1/nsh/Make.defs b/nuttx-configs/px4io-v1/nsh/Make.defs index 712631f47..7a0792ff6 100644 --- a/nuttx-configs/px4io-v1/nsh/Make.defs +++ b/nuttx-configs/px4io-v1/nsh/Make.defs @@ -53,7 +53,7 @@ NM = $(CROSSDEV)nm OBJCOPY = $(CROSSDEV)objcopy OBJDUMP = $(CROSSDEV)objdump -MAXOPTIMIZATION = -O3 +MAXOPTIMIZATION = -Os ARCHCPUFLAGS = -mcpu=cortex-m3 \ -mthumb \ -march=armv7-m |