summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/nxwm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-06 00:20:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-06 00:20:49 +0000
commit2e66123ab1f9038be35c34f689a47c35e94c6176 (patch)
treeb312e3ce44440cc88c8c5a4c8fad36c3a4bb0520 /nuttx/configs/shenzhou/nxwm
parentb10d73d0f0e956d1f9b6e0b6bbedd6b0e18c954a (diff)
downloadpx4-nuttx-2e66123ab1f9038be35c34f689a47c35e94c6176.tar.gz
px4-nuttx-2e66123ab1f9038be35c34f689a47c35e94c6176.tar.bz2
px4-nuttx-2e66123ab1f9038be35c34f689a47c35e94c6176.zip
More changes for buildroot EABI toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5215 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou/nxwm')
-rw-r--r--nuttx/configs/shenzhou/nxwm/Make.defs3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/configs/shenzhou/nxwm/Make.defs b/nuttx/configs/shenzhou/nxwm/Make.defs
index 96104d6d0..dfb0472a1 100644
--- a/nuttx/configs/shenzhou/nxwm/Make.defs
+++ b/nuttx/configs/shenzhou/nxwm/Make.defs
@@ -84,7 +84,8 @@ ifeq ($(CONFIG_STM32_BUILDROOT),y)
# NuttX buildroot under Linux or Cygwin
CROSSDEV = arm-nuttx-eabi-
ARCROSSDEV = arm-nuttx-eabi-
- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
+# ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
+ ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
MAXOPTIMIZATION = -Os
endif