diff options
-rw-r--r-- | nuttx/arch/arm/src/armv7-m/Toolchain.defs | 8 | ||||
-rw-r--r-- | nuttx/configs/samv71-xult/README.txt | 22 | ||||
-rw-r--r-- | nuttx/configs/samv71-xult/nsh/defconfig | 4 | ||||
-rwxr-xr-x | nuttx/configs/samv71-xult/nsh/setenv.sh | 8 |
4 files changed, 26 insertions, 16 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/Toolchain.defs b/nuttx/arch/arm/src/armv7-m/Toolchain.defs index 26d26538e..6fccae1e1 100644 --- a/nuttx/arch/arm/src/armv7-m/Toolchain.defs +++ b/nuttx/arch/arm/src/armv7-m/Toolchain.defs @@ -138,13 +138,9 @@ ifeq ($(CONFIG_ARCH_CORTEXM4),y) endif else ifeq ($(CONFIG_ARCH_CORTEXM7),y) TOOLCHAIN_ARM7EM := y - # FIXME: Most tools do not yet support the cortex-m7 CPU type - # TOOLCHAIN_MCPU := -mcpu=cortex-m7 - # TOOLCHAIN_MTUNE := -mtune=cortex-m7 - TOOLCHAIN_MCPU := -mcpu=cortex-m4 - TOOLCHAIN_MTUNE := -mtune=cortex-m4 + TOOLCHAIN_MCPU := -mcpu=cortex-m7 + TOOLCHAIN_MTUNE := -mtune=cortex-m7 TOOLCHAIN_MARCH := -march=armv7e-m - # FIXME: Most tools do not yet fpv5 FPU types either ifeq ($(CONFIG_ARCH_FPU),y) ifeq ($(CONFIG_ARCH_DPFPU),y) TOOLCHAIN_MFLOAT := -mfpu=fpv5-d16 -mfloat-abi=hard diff --git a/nuttx/configs/samv71-xult/README.txt b/nuttx/configs/samv71-xult/README.txt index e41c22e73..52d1b9e94 100644 --- a/nuttx/configs/samv71-xult/README.txt +++ b/nuttx/configs/samv71-xult/README.txt @@ -234,16 +234,26 @@ NOTES: output on USART3 (i.e., for the Arduino serial shield). 3. All of these configurations are set up to build under Windows using the - CodeSourcery toolchain (unless stated otherwise in the description of - the configuration). That build selection can easily be reconfigured - using 'make menuconfig'. Here are the relevant current settings: + "GNU Tools for ARM Embedded Processors" that is maintained by ARM + (unless stated otherwise in the description of the configuration). + + https://launchpad.net/gcc-arm-embedded + + As of this writing (2015-03-11), full support is difficult to find + for the Cortex-M&, but is supported by at least this realeasse of + the ARM GNU tools: + + https://launchpadlibrarian.net/192228215/release.txt + + That toolchain selection can easily be reconfigured using + 'make menuconfig'. Here are the relevant current settings: Build Setup: - CONFIG_HOST_WINDOWS=y : Window environment - CONFIG_WINDOWS_CYGWIN=y : Cywin under Windows + CONFIG_HOST_WINDOWS=y : Window environment + CONFIG_WINDOWS_CYGWIN=y : Cywin under Windows System Type -> Toolchain: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : devkitARM toolchain + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU ARM EABI toolchain Configuration sub-directories ----------------------------- diff --git a/nuttx/configs/samv71-xult/nsh/defconfig b/nuttx/configs/samv71-xult/nsh/defconfig index 1dd7699e0..b04f15b69 100644 --- a/nuttx/configs/samv71-xult/nsh/defconfig +++ b/nuttx/configs/samv71-xult/nsh/defconfig @@ -129,10 +129,10 @@ CONFIG_ARMV7M_HAVE_DTCM=y # CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC is not set # CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT is not set # CONFIG_ARMV7M_TOOLCHAIN_CODEREDW is not set -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y +# CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW is not set # CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM is not set # CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL is not set -# CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW is not set +CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y # CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE is not set # CONFIG_ARMV7M_ITMSYSLOG is not set diff --git a/nuttx/configs/samv71-xult/nsh/setenv.sh b/nuttx/configs/samv71-xult/nsh/setenv.sh index d27fec489..58b9c6e57 100755 --- a/nuttx/configs/samv71-xult/nsh/setenv.sh +++ b/nuttx/configs/samv71-xult/nsh/setenv.sh @@ -57,10 +57,14 @@ fi # the CodeSourcery toolchain in any other location #export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" #export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" -export TOOLCHAIN_BIN="/cygdrive/c/Users/MyName/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" +# export TOOLCHAIN_BIN="/cygdrive/c/Users/MyName/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" + +# This is the location where I installed the ARM "GNU Tools for ARM Embedded Processors" +# You can this free toolchain here https://launchpad.net/gcc-arm-embedded +export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/4.9 2014q4/bin" # This is the path to the location where I installed the devkitARM toolchain -# You an get this free toolchain from http://devkitpro.org/ or http://sourceforge.net/projects/devkitpro/ +# You can get this free toolchain from http://devkitpro.org/ or http://sourceforge.net/projects/devkitpro/ #export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/devkitARM/bin" # This is the Cygwin path to the location where I build the buildroot |