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 | ee341514da6ef18f2dca79226e5221268d49f4d2 (patch) | |
tree | 224185a0428861368a52eec226078358748b6912 /nuttx/configs/lpc4330-xplorer | |
parent | 79e092e3627aeaaa351fbbc2c19f3b0311dc4001 (diff) | |
download | px4-firmware-ee341514da6ef18f2dca79226e5221268d49f4d2.tar.gz px4-firmware-ee341514da6ef18f2dca79226e5221268d49f4d2.tar.bz2 px4-firmware-ee341514da6ef18f2dca79226e5221268d49f4d2.zip |
All Cortex-M Make.defs files updated to use buildroot EABI toolchain if BUILDROOT=y selected
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5219 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer')
-rw-r--r-- | nuttx/configs/lpc4330-xplorer/nsh/Make.defs | 11 | ||||
-rw-r--r-- | nuttx/configs/lpc4330-xplorer/ostest/Make.defs | 11 |
2 files changed, 16 insertions, 6 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/Make.defs b/nuttx/configs/lpc4330-xplorer/nsh/Make.defs index 960fb2a41..757759ecc 100644 --- a/nuttx/configs/lpc4330-xplorer/nsh/Make.defs +++ b/nuttx/configs/lpc4330-xplorer/nsh/Make.defs @@ -93,9 +93,14 @@ ifeq ($(CONFIG_LPC43_DEVKITARM),y) endif ifeq ($(CONFIG_LPC43_BUILDROOT),y) # NuttX buildroot under Linux or Cygwin - CROSSDEV = arm-nuttx-elf- - ARCROSSDEV = arm-nuttx-elf- - ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft + # OABI + # CROSSDEV = arm-nuttx-elf- + # ARCROSSDEV = arm-nuttx-elf- + # ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + # EABI + CROSSDEV = arm-nuttx-eabi- + ARCROSSDEV = arm-nuttx-eabi- + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft MAXOPTIMIZATION = -Os endif diff --git a/nuttx/configs/lpc4330-xplorer/ostest/Make.defs b/nuttx/configs/lpc4330-xplorer/ostest/Make.defs index 960fb2a41..757759ecc 100644 --- a/nuttx/configs/lpc4330-xplorer/ostest/Make.defs +++ b/nuttx/configs/lpc4330-xplorer/ostest/Make.defs @@ -93,9 +93,14 @@ ifeq ($(CONFIG_LPC43_DEVKITARM),y) endif ifeq ($(CONFIG_LPC43_BUILDROOT),y) # NuttX buildroot under Linux or Cygwin - CROSSDEV = arm-nuttx-elf- - ARCROSSDEV = arm-nuttx-elf- - ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft + # OABI + # CROSSDEV = arm-nuttx-elf- + # ARCROSSDEV = arm-nuttx-elf- + # ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + # EABI + CROSSDEV = arm-nuttx-eabi- + ARCROSSDEV = arm-nuttx-eabi- + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft MAXOPTIMIZATION = -Os endif |