diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-27 17:18:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-27 17:18:20 +0000 |
commit | 2db8a6b1b8d2df454165894ea7327e5a8a541035 (patch) | |
tree | d9430ea4fbd3b2ea7713bf83c87beb24783e4471 /nuttx/configs/stm3210e-eval | |
parent | c872296fe1f0c13bc9efb25d87fbcf38f4b1e0db (diff) | |
download | px4-nuttx-2db8a6b1b8d2df454165894ea7327e5a8a541035.tar.gz px4-nuttx-2db8a6b1b8d2df454165894ea7327e5a8a541035.tar.bz2 px4-nuttx-2db8a6b1b8d2df454165894ea7327e5a8a541035.zip |
CodeSourcery can't handle -Os
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2180 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rw-r--r-- | nuttx/configs/stm3210e-eval/RIDE/Make.defs | 3 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nsh/Make.defs | 3 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/ostest/Make.defs | 3 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/usbserial/Make.defs | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/configs/stm3210e-eval/RIDE/Make.defs b/nuttx/configs/stm3210e-eval/RIDE/Make.defs index 68e56151a..71aa5de69 100644 --- a/nuttx/configs/stm3210e-eval/RIDE/Make.defs +++ b/nuttx/configs/stm3210e-eval/RIDE/Make.defs @@ -53,6 +53,7 @@ ifeq ($(CONFIG_STM32_CODESOURCERYL),y) # CodeSourcery under Linux CROSSDEV = arm-none-eabi- ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + MAXOPTIMIZATION = -O2 endif ifeq ($(CONFIG_STM32_DEVKITARM),y) # devkitARM under Windows @@ -70,6 +71,7 @@ ifeq ($(CONFIG_STM32_BUILDROOT),y) # NuttX buildroot under Linux or Cygwin CROSSDEV = arm-elf- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + MAXOPTIMIZATION = -Os endif ifeq ($(WINTOOL),y) @@ -87,7 +89,6 @@ else ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/RIDE/$(LDSCRIPT) - MAXOPTIMIZATION = -Os endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3210e-eval/nsh/Make.defs b/nuttx/configs/stm3210e-eval/nsh/Make.defs index 6504314ab..d343a07c8 100644 --- a/nuttx/configs/stm3210e-eval/nsh/Make.defs +++ b/nuttx/configs/stm3210e-eval/nsh/Make.defs @@ -53,6 +53,7 @@ ifeq ($(CONFIG_STM32_CODESOURCERYL),y) # CodeSourcery under Linux CROSSDEV = arm-none-eabi- ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + MAXOPTIMIZATION = -O2 endif ifeq ($(CONFIG_STM32_DEVKITARM),y) # devkitARM under Windows @@ -70,6 +71,7 @@ ifeq ($(CONFIG_STM32_BUILDROOT),y) # NuttX buildroot under Linux or Cygwin CROSSDEV = arm-elf- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + MAXOPTIMIZATION = -Os endif ifeq ($(WINTOOL),y) @@ -87,7 +89,6 @@ else ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh/$(LDSCRIPT) - MAXOPTIMIZATION = -Os endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3210e-eval/ostest/Make.defs b/nuttx/configs/stm3210e-eval/ostest/Make.defs index 2cec9a314..126664898 100644 --- a/nuttx/configs/stm3210e-eval/ostest/Make.defs +++ b/nuttx/configs/stm3210e-eval/ostest/Make.defs @@ -53,6 +53,7 @@ ifeq ($(CONFIG_STM32_CODESOURCERYL),y) # CodeSourcery under Linux CROSSDEV = arm-none-eabi- ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + MAXOPTIMIZATION = -O2 endif ifeq ($(CONFIG_STM32_DEVKITARM),y) # devkitARM under Windows @@ -70,6 +71,7 @@ ifeq ($(CONFIG_STM32_BUILDROOT),y) # NuttX buildroot under Linux or Cygwin CROSSDEV = arm-elf- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + MAXOPTIMIZATION = -Os endif ifeq ($(WINTOOL),y) @@ -87,7 +89,6 @@ else ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/$(LDSCRIPT) - MAXOPTIMIZATION = -Os endif CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/stm3210e-eval/usbserial/Make.defs b/nuttx/configs/stm3210e-eval/usbserial/Make.defs index 4df6982ff..ff8613d35 100644 --- a/nuttx/configs/stm3210e-eval/usbserial/Make.defs +++ b/nuttx/configs/stm3210e-eval/usbserial/Make.defs @@ -53,6 +53,7 @@ ifeq ($(CONFIG_STM32_CODESOURCERYL),y) # CodeSourcery under Linux CROSSDEV = arm-none-eabi- ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft + MAXOPTIMIZATION = -O2 endif ifeq ($(CONFIG_STM32_DEVKITARM),y) # devkitARM under Windows @@ -70,6 +71,7 @@ ifeq ($(CONFIG_STM32_BUILDROOT),y) # NuttX buildroot under Linux or Cygwin CROSSDEV = arm-elf- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft + MAXOPTIMIZATION = -Os endif ifeq ($(WINTOOL),y) @@ -87,7 +89,6 @@ else ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/usbserial/$(LDSCRIPT) - MAXOPTIMIZATION = -Os endif CC = $(CROSSDEV)gcc |