diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-05 16:29:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-05 16:29:58 -0600 |
commit | ade00d9f50648e66e78a562b0c6a83daa3ebe7a2 (patch) | |
tree | 88557a0add53d217566b83b3e5ea90b2dbbfcd1a /nuttx/configs/stm32f3discovery | |
parent | 24a92b4f1dfb8c0f3fd978c2a952f1eff61919e2 (diff) | |
download | px4-nuttx-ade00d9f50648e66e78a562b0c6a83daa3ebe7a2.tar.gz px4-nuttx-ade00d9f50648e66e78a562b0c6a83daa3ebe7a2.tar.bz2 px4-nuttx-ade00d9f50648e66e78a562b0c6a83daa3ebe7a2.zip |
Use common naming for rest of the toolchains too
Diffstat (limited to 'nuttx/configs/stm32f3discovery')
-rw-r--r-- | nuttx/configs/stm32f3discovery/README.txt | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/nuttx/configs/stm32f3discovery/README.txt b/nuttx/configs/stm32f3discovery/README.txt index 11a6da3e4..d557c2fdf 100644 --- a/nuttx/configs/stm32f3discovery/README.txt +++ b/nuttx/configs/stm32f3discovery/README.txt @@ -48,8 +48,7 @@ GNU Toolchain Options CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_LITE=y : The free, "Lite" version of Atollic toolchain under Windows - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_PRO=y : The paid, "Pro" version of Atollic toolchain under Windows + CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : The Atollic toolchain under Windows CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE=y : Raisonance RIDE7 under Windows CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) @@ -366,29 +365,14 @@ There are two version of the FPU support built into the STM32 port. CFLAGS ------ -Only the Atollic toolchain has built-in support for the Cortex-M4 FPU. You will see +Only recent GCC toolchains have built-in support for the Cortex-M4 FPU. You will see the following lines in each Make.defs file: - ifeq ($(CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_LITE),y) - # Atollic toolchain under Windows - ... ifeq ($(CONFIG_ARCH_FPU),y) ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard else ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif - endif - -If you are using a toolchain other than the Atollic toolchain, then to use the FPU -you will also have to modify the CFLAGS to enable compiler support for the ARMv7-M -FPU. As of this writing, there are not many GCC toolchains that will support the -ARMv7-M FPU. - -As a minimum you will need to add CFLAG options to (1) enable hardware floating point -code generation, and to (2) select the FPU implementation. You might try the same -options as used with the Atollic toolchain in the Make.defs file: - - ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard Configuration Changes --------------------- @@ -402,10 +386,8 @@ in order to successfully build NuttX using the Atollic toolchain WITH FPU suppor -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_LITE=n : Enable *one* the Atollic toolchains - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_PRO=n - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_LITE=y : The "Lite" version - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC_PRO=n : The "Pro" version + -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=n : Enable the Atollic toolchain + +CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : -CONFIG_INTELHEX_BINARY=y : Suppress generation FLASH download formats +CONFIG_INTELHEX_BINARY=n : (Only necessary with the "Lite" version) |