diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-06 18:09:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-06 18:09:05 +0000 |
commit | 227ff2dd6f15fe69ff32fe9d06d0b3c0d1317584 (patch) | |
tree | 224185a0428861368a52eec226078358748b6912 /nuttx/configs/olimex-stm32-p107 | |
parent | 0d7faa84c30520112d0dbecfcb7d8580c3950263 (diff) | |
download | px4-nuttx-227ff2dd6f15fe69ff32fe9d06d0b3c0d1317584.tar.gz px4-nuttx-227ff2dd6f15fe69ff32fe9d06d0b3c0d1317584.tar.bz2 px4-nuttx-227ff2dd6f15fe69ff32fe9d06d0b3c0d1317584.zip |
All Cortex-M Make.defs files updated to use buildroot EABI toolchain if BUILDROOT=y selected
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5219 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-stm32-p107')
-rw-r--r-- | nuttx/configs/olimex-stm32-p107/nsh/Make.defs | 8 | ||||
-rw-r--r-- | nuttx/configs/olimex-stm32-p107/ostest/Make.defs | 8 |
2 files changed, 12 insertions, 4 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 diff --git a/nuttx/configs/olimex-stm32-p107/ostest/Make.defs b/nuttx/configs/olimex-stm32-p107/ostest/Make.defs index 7cf5e765f..28c9ab813 100644 --- a/nuttx/configs/olimex-stm32-p107/ostest/Make.defs +++ b/nuttx/configs/olimex-stm32-p107/ostest/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 |