summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-stm32-p107/nsh/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/olimex-stm32-p107/nsh/Make.defs')
-rw-r--r--nuttx/configs/olimex-stm32-p107/nsh/Make.defs8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/configs/olimex-stm32-p107/nsh/Make.defs b/nuttx/configs/olimex-stm32-p107/nsh/Make.defs
index 0108ef1ee..5175c2f8f 100644
--- a/nuttx/configs/olimex-stm32-p107/nsh/Make.defs
+++ b/nuttx/configs/olimex-stm32-p107/nsh/Make.defs
@@ -70,8 +70,12 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
endif
ifeq ($(CONFIG_STM32_BUILDROOT),y)
# NuttX buildroot under Linux or Cygwin
- CROSSDEV = arm-nuttx-elf-
- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
+ # OABI
+ # CROSSDEV = arm-nuttx-elf-
+ # ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
+ # EABI
+ CROSSDEV = arm-nuttx-eabi-
+ ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
MAXOPTIMIZATION = -Os
endif