diff --git a/arch/arm/src/arm/Kconfig b/arch/arm/src/arm/Kconfig index 4b9ce18551..62bee95388 100644 --- a/arch/arm/src/arm/Kconfig +++ b/arch/arm/src/arm/Kconfig @@ -14,22 +14,6 @@ config ARM_TOOLCHAIN_BUILDROOT bool "Buildroot (Cygwin or Linux)" depends on !WINDOWS_NATIVE -config ARM_TOOLCHAIN_CODESOURCERYL - bool "CodeSourcery GNU toolchain under Linux" - depends on HOST_LINUX - ---help--- - For use with the GNU toolchain built with the NuttX buildroot package. - This tools may be arm-nuttx-eabi- or, if ARM_OABI_TOOLCHAIN is set, - arm-nuttx-elf-. - -config ARM_TOOLCHAIN_CODESOURCERYW - bool "CodeSourcery GNU toolchain under Windows" - depends on TOOLCHAIN_WINDOWS - -config ARM_TOOLCHAIN_DEVKITARM - bool "devkitARM GNU toolchain" - depends on TOOLCHAIN_WINDOWS - config ARM_TOOLCHAIN_GNU_EABIL bool "Generic GNU EABI toolchain under Linux (or other POSIX environment)" ---help--- diff --git a/arch/arm/src/arm/Toolchain.defs b/arch/arm/src/arm/Toolchain.defs index ca36ccb386..f1f829aa9b 100644 --- a/arch/arm/src/arm/Toolchain.defs +++ b/arch/arm/src/arm/Toolchain.defs @@ -1,35 +1,20 @@ ############################################################################ # arch/arm/src/armv/Toolchain.defs # -# Copyright (C) 2012-2014, 2017 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: +# http://www.apache.org/licenses/LICENSE-2.0 # -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name NuttX nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # ############################################################################ @@ -48,24 +33,6 @@ ifeq ($(filter y, \ CONFIG_ARM_TOOLCHAIN ?= BUILDROOT endif -ifeq ($(filter y, \ - $(CONFIG_ARM_TOOLCHAIN_CODESOURCERYL) \ - ),y) - CONFIG_ARM_TOOLCHAIN ?= CODESOURCERYL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARM_TOOLCHAIN_CODESOURCERYW) \ - ),y) - CONFIG_ARM_TOOLCHAIN ?= CODESOURCERYW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARM_TOOLCHAIN_DEVKITARM) \ - ),y) - CONFIG_ARM_TOOLCHAIN ?= DEVKITARM -endif - ifeq ($(filter y, \ $(CONFIG_ARM_TOOLCHAIN_GNU_EABIL) \ ),y) @@ -113,35 +80,6 @@ endif MAXOPTIMIZATION ?= -Os endif -# CodeSourcery under Linux - -ifeq ($(CONFIG_ARM_TOOLCHAIN),CODESOURCERYL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -O2 -endif - -# CodeSourcery under Windows - -ifeq ($(CONFIG_ARM_TOOLCHAIN),CODESOURCERYW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -O2 - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# devkitARM under Windows - -ifeq ($(CONFIG_ARM_TOOLCHAIN),DEVKITARM) - CROSSDEV ?= arm-eabi- - ARCROSSDEV ?= arm-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - # Generic GNU EABI toolchain on macOS, Linux or any typical Posix system ifeq ($(CONFIG_ARM_TOOLCHAIN),GNU_EABIL) diff --git a/arch/arm/src/armv6-m/Kconfig b/arch/arm/src/armv6-m/Kconfig index 4a22655a05..bd0cc7a645 100644 --- a/arch/arm/src/armv6-m/Kconfig +++ b/arch/arm/src/armv6-m/Kconfig @@ -10,41 +10,11 @@ choice default ARMV6M_TOOLCHAIN_GNU_EABIW if TOOLCHAIN_WINDOWS default ARMV6M_TOOLCHAIN_GNU_EABIL if !TOOLCHAIN_WINDOWS -config ARMV6M_TOOLCHAIN_ATOLLIC - bool "Atollic Lite/Pro for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - config ARMV6M_TOOLCHAIN_BUILDROOT bool "Buildroot (Cygwin or Linux)" depends on !WINDOWS_NATIVE select ARCH_TOOLCHAIN_GNU -config ARMV6M_TOOLCHAIN_CODEREDL - bool "CodeRed for Linux" - depends on HOST_LINUX - select ARCH_TOOLCHAIN_GNU - -config ARMV6M_TOOLCHAIN_CODEREDW - bool "CodeRed for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - -config ARMV6M_TOOLCHAIN_CODESOURCERYL - bool "CodeSourcery GNU toolchain under Linux" - depends on HOST_LINUX - select ARCH_TOOLCHAIN_GNU - -config ARMV6M_TOOLCHAIN_CODESOURCERYW - bool "CodeSourcery GNU toolchain under Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - -config ARMV6M_TOOLCHAIN_DEVKITARM - bool "devkitARM GNU toolchain" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - config ARMV6M_TOOLCHAIN_GNU_EABIL bool "Generic GNU EABI toolchain under Linux (or other POSIX environment)" select ARCH_TOOLCHAIN_GNU diff --git a/arch/arm/src/armv6-m/Toolchain.defs b/arch/arm/src/armv6-m/Toolchain.defs index 91d3974e65..c153fd4d80 100644 --- a/arch/arm/src/armv6-m/Toolchain.defs +++ b/arch/arm/src/armv6-m/Toolchain.defs @@ -1,35 +1,20 @@ ############################################################################ # arch/arm/src/armv6-m/Toolchain.defs # -# Copyright (C) 2013 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: +# http://www.apache.org/licenses/LICENSE-2.0 # -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name NuttX nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # ############################################################################ @@ -42,34 +27,10 @@ # command-line selection. # -ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_ATOLLIC)),y) - CONFIG_ARMV6M_TOOLCHAIN ?= ATOLLIC -endif - ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT)),y) CONFIG_ARMV6M_TOOLCHAIN ?= BUILDROOT endif -ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_CODEREDL)),y) - CONFIG_ARMV6M_TOOLCHAIN ?= CODEREDL -endif - -ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_CODEREDW)),y) - CONFIG_ARMV6M_TOOLCHAIN ?= CODEREDW -endif - -ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL)),y) - CONFIG_ARMV6M_TOOLCHAIN ?= CODESOURCERYL -endif - -ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW)),y) - CONFIG_ARMV6M_TOOLCHAIN ?= CODESOURCERYW -endif - -ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_DEVKITARM)),y) - CONFIG_ARMV6M_TOOLCHAIN ?= DEVKITARM -endif - ifeq ($(filter y, $(CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL)),y) CONFIG_ARMV6M_TOOLCHAIN ?= GNU_EABIL endif @@ -100,17 +61,6 @@ ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y) MAXOPTIMIZATION := $(CONFIG_DEBUG_OPTLEVEL) endif -# Atollic toolchain under Windows - -ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),ATOLLIC) - CROSSDEV ?= arm-atollic-eabi- - ARCROSSDEV ?= arm-atollic-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -endif - # NuttX buildroot under Linux or Cygwin ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),BUILDROOT) @@ -119,55 +69,6 @@ ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),BUILDROOT) ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft endif -# Code Red RedSuite under Linux - -ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),CODEREDL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -endif - -# Code Red RedSuite under Windows - -ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),CODEREDW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -endif - -# CodeSourcery under Linux - -ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),CODESOURCERYL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -endif - -# CodeSourcery under Windows - -ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),CODESOURCERYW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -endif - -# devkitARM under Windows - -ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),DEVKITARM) - CROSSDEV ?= arm-eabi- - ARCROSSDEV ?= arm-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -endif - # Generic GNU EABI toolchain on macOS, Linux or any typical Posix system ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),GNU_EABIL) diff --git a/arch/arm/src/armv7-a/Kconfig b/arch/arm/src/armv7-a/Kconfig index a8dc919e35..7fbd2e3af2 100644 --- a/arch/arm/src/armv7-a/Kconfig +++ b/arch/arm/src/armv7-a/Kconfig @@ -136,25 +136,6 @@ config ARMV7A_TOOLCHAIN_BUILDROOT select ARCH_TOOLCHAIN_GNU depends on !WINDOWS_NATIVE -config ARMV7A_TOOLCHAIN_CODESOURCERYL - bool "CodeSourcery GNU toolchain under Linux" - select ARCH_TOOLCHAIN_GNU - depends on HOST_LINUX - ---help--- - For use with the GNU toolchain built with the NuttX buildroot package. - This tools may be arm-nuttx-eabi- or, if ARMV7A_OABI_TOOLCHAIN is set, - arm-nuttx-elf-. - -config ARMV7A_TOOLCHAIN_CODESOURCERYW - bool "CodeSourcery GNU toolchain under Windows" - select ARCH_TOOLCHAIN_GNU - depends on TOOLCHAIN_WINDOWS - -config ARMV7A_TOOLCHAIN_DEVKITARM - bool "devkitARM GNU toolchain" - select ARCH_TOOLCHAIN_GNU - depends on TOOLCHAIN_WINDOWS - config ARMV7A_TOOLCHAIN_GNU_EABIL bool "Generic GNU EABI toolchain under Linux (or other POSIX environment)" select ARCH_TOOLCHAIN_GNU diff --git a/arch/arm/src/armv7-a/Toolchain.defs b/arch/arm/src/armv7-a/Toolchain.defs index 18b0d4de43..77f29104ec 100644 --- a/arch/arm/src/armv7-a/Toolchain.defs +++ b/arch/arm/src/armv7-a/Toolchain.defs @@ -1,35 +1,20 @@ ############################################################################ # arch/arm/src/armv7-a/Toolchain.defs # -# Copyright (C) 2013, 2019 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: +# http://www.apache.org/licenses/LICENSE-2.0 # -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name NuttX nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # ############################################################################ @@ -46,24 +31,6 @@ ifeq ($(filter y, \ CONFIG_ARMV7A_TOOLCHAIN ?= BUILDROOT endif -ifeq ($(filter y, \ - $(CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYL) \ - ),y) - CONFIG_ARMV7A_TOOLCHAIN ?= CODESOURCERYL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW) \ - ),y) - CONFIG_ARMV7A_TOOLCHAIN ?= CODESOURCERYW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7A_TOOLCHAIN_DEVKITARM) \ - ),y) - CONFIG_ARMV7A_TOOLCHAIN ?= DEVKITARM -endif - ifeq ($(filter y, \ $(CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL) \ ),y) @@ -131,35 +98,6 @@ endif MAXOPTIMIZATION ?= -Os endif -# CodeSourcery under Linux - -ifeq ($(CONFIG_ARMV7A_TOOLCHAIN),CODESOURCERYL) - CROSSDEV ?= $(TARGET_ARCH)-none-eabi- - ARCROSSDEV ?= $(TARGET_ARCH)-none-eabi- - MAXOPTIMIZATION ?= -O2 -endif - -# CodeSourcery under Windows - -ifeq ($(CONFIG_ARMV7A_TOOLCHAIN),CODESOURCERYW) - CROSSDEV ?= $(TARGET_ARCH)-none-eabi- - ARCROSSDEV ?= $(TARGET_ARCH)-none-eabi- - MAXOPTIMIZATION ?= -O2 - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# devkitARM under Windows - -ifeq ($(CONFIG_ARMV7A_TOOLCHAIN),DEVKITARM) - CROSSDEV ?= $(TARGET_ARCH)-eabi- - ARCROSSDEV ?= $(TARGET_ARCH)-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - # Generic GNU EABI toolchain on macOS, Linux or any typical Posix system ifeq ($(CONFIG_ARMV7A_TOOLCHAIN),GNU_EABIL) diff --git a/arch/arm/src/armv7-m/Kconfig b/arch/arm/src/armv7-m/Kconfig index 7dcd5c82c1..565edc175e 100644 --- a/arch/arm/src/armv7-m/Kconfig +++ b/arch/arm/src/armv7-m/Kconfig @@ -135,41 +135,11 @@ config ARMV7M_TOOLCHAIN_IARL depends on HOST_LINUX select ARCH_TOOLCHAIN_IAR -config ARMV7M_TOOLCHAIN_ATOLLIC - bool "Atollic Lite/Pro for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - config ARMV7M_TOOLCHAIN_BUILDROOT bool "Buildroot (Cygwin or Linux)" depends on !WINDOWS_NATIVE select ARCH_TOOLCHAIN_GNU -config ARMV7M_TOOLCHAIN_CODEREDL - bool "CodeRed for Linux" - depends on HOST_LINUX - select ARCH_TOOLCHAIN_GNU - -config ARMV7M_TOOLCHAIN_CODEREDW - bool "CodeRed for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - -config ARMV7M_TOOLCHAIN_CODESOURCERYL - bool "CodeSourcery GNU toolchain under Linux" - depends on HOST_LINUX - select ARCH_TOOLCHAIN_GNU - -config ARMV7M_TOOLCHAIN_CODESOURCERYW - bool "CodeSourcery GNU toolchain under Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - -config ARMV7M_TOOLCHAIN_DEVKITARM - bool "devkitARM GNU toolchain" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - config ARMV7M_TOOLCHAIN_GNU_EABIL bool "Generic GNU EABI toolchain under Linux (or other POSIX environment)" depends on !WINDOWS_NATIVE @@ -196,11 +166,6 @@ config ARMV7M_TOOLCHAIN_CLANGW This option should work for any modern GNU toolchain (GCC 4.5 or newer) configured for arm-none-eabi. -config ARMV7M_TOOLCHAIN_RAISONANCE - bool "STMicro Raisonance for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - endchoice config ARMV7M_OABI_TOOLCHAIN diff --git a/arch/arm/src/armv7-m/Toolchain.defs b/arch/arm/src/armv7-m/Toolchain.defs index 2f425db6f6..7255ddaad1 100644 --- a/arch/arm/src/armv7-m/Toolchain.defs +++ b/arch/arm/src/armv7-m/Toolchain.defs @@ -27,54 +27,12 @@ # command-line selection. # -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= ATOLLIC -endif - ifeq ($(filter y, \ $(CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT) \ ),y) CONFIG_ARMV7M_TOOLCHAIN ?= BUILDROOT endif -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_CODEREDL) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= CODEREDL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_CODEREDW) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= CODEREDW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= CODESOURCERYL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= CODESOURCERYW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= DEVKITARM -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE) \ - ),y) - CONFIG_ARMV7M_TOOLCHAIN ?= RAISONANCE -endif - ifeq ($(filter y, \ $(CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL) \ ),y) @@ -151,18 +109,6 @@ else # ifeq ($(CONFIG_ARCH_CORTEXM3),y) TOOLCHAIN_MFLOAT := -mfloat-abi=soft endif -# Atollic toolchain under Windows - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),ATOLLIC) - CROSSDEV ?= arm-atollic-eabi- - ARCROSSDEV ?= arm-atollic-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - # NuttX buildroot under Linux or Cygwin ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),BUILDROOT) @@ -178,59 +124,6 @@ endif MAXOPTIMIZATION ?= -Os endif -# Code Red RedSuite under Linux - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),CODEREDL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif - -# Code Red RedSuite under Windows - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),CODEREDW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# CodeSourcery under Linux - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),CODESOURCERYL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -O2 - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif - -# CodeSourcery under Windows - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),CODESOURCERYW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# devkitARM under Windows - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),DEVKITARM) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif - # Generic GNU EABI toolchain on macOS, Linux or any typical Posix system ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),GNU_EABIL) @@ -273,13 +166,3 @@ ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),CLANGW) endif endif -# Raisonance RIDE7 under Windows - -ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),RAISONANCE) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif diff --git a/arch/arm/src/armv7-r/Kconfig b/arch/arm/src/armv7-r/Kconfig index 15a6ab4f84..96278c4191 100644 --- a/arch/arm/src/armv7-r/Kconfig +++ b/arch/arm/src/armv7-r/Kconfig @@ -136,25 +136,6 @@ config ARMV7R_TOOLCHAIN_BUILDROOT select ARCH_TOOLCHAIN_GNU depends on !WINDOWS_NATIVE -config ARMV7R_TOOLCHAIN_CODESOURCERYL - bool "CodeSourcery GNU toolchain under Linux" - select ARCH_TOOLCHAIN_GNU - depends on HOST_LINUX - ---help--- - For use with the GNU toolchain built with the NuttX buildroot package. - This tools may be arm-nuttx-eabi- or, if ARMV7R_OABI_TOOLCHAIN is set, - arm-nuttx-elf-. - -config ARMV7R_TOOLCHAIN_CODESOURCERYW - bool "CodeSourcery GNU toolchain under Windows" - select ARCH_TOOLCHAIN_GNU - depends on TOOLCHAIN_WINDOWS - -config ARMV7R_TOOLCHAIN_DEVKITARM - bool "devkitARM GNU toolchain" - select ARCH_TOOLCHAIN_GNU - depends on TOOLCHAIN_WINDOWS - config ARMV7R_TOOLCHAIN_GNU_EABIL bool "Generic GNU EABI toolchain under Linux (or other POSIX environment)" select ARCH_TOOLCHAIN_GNU diff --git a/arch/arm/src/armv7-r/Toolchain.defs b/arch/arm/src/armv7-r/Toolchain.defs index c545152afb..aeedf54cfb 100644 --- a/arch/arm/src/armv7-r/Toolchain.defs +++ b/arch/arm/src/armv7-r/Toolchain.defs @@ -1,35 +1,20 @@ ############################################################################ # arch/arm/src/armv7-r/Toolchain.defs # -# Copyright (C) 2015 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: +# http://www.apache.org/licenses/LICENSE-2.0 # -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name NuttX nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # ############################################################################ @@ -46,24 +31,6 @@ ifeq ($(filter y, \ CONFIG_ARMV7R_TOOLCHAIN ?= BUILDROOT endif -ifeq ($(filter y, \ - $(CONFIG_ARMV7R_TOOLCHAIN_CODESOURCERYL) \ - ),y) - CONFIG_ARMV7R_TOOLCHAIN ?= CODESOURCERYL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7R_TOOLCHAIN_CODESOURCERYW) \ - ),y) - CONFIG_ARMV7R_TOOLCHAIN ?= CODESOURCERYW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV7R_TOOLCHAIN_DEVKITARM) \ - ),y) - CONFIG_ARMV7R_TOOLCHAIN ?= DEVKITARM -endif - ifeq ($(filter y, \ $(CONFIG_ARMV7R_TOOLCHAIN_GNU_EABIL) \ ),y) @@ -113,35 +80,6 @@ endif MAXOPTIMIZATION ?= -Os endif -# CodeSourcery under Linux - -ifeq ($(CONFIG_ARMV7R_TOOLCHAIN),CODESOURCERYL) - CROSSDEV ?= $(TARGET_ARCH)-none-eabi- - ARCROSSDEV ?= $(TARGET_ARCH)-none-eabi- - MAXOPTIMIZATION ?= -O2 -endif - -# CodeSourcery under Windows - -ifeq ($(CONFIG_ARMV7R_TOOLCHAIN),CODESOURCERYW) - CROSSDEV ?= $(TARGET_ARCH)-none-eabi- - ARCROSSDEV ?= $(TARGET_ARCH)-none-eabi- - MAXOPTIMIZATION ?= -O2 - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# devkitARM under Windows - -ifeq ($(CONFIG_ARMV7R_TOOLCHAIN),DEVKITARM) - CROSSDEV ?= $(TARGET_ARCH)-eabi- - ARCROSSDEV ?= $(TARGET_ARCH)-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - # Generic GNU EABI toolchain on macOS, Linux or any typical Posix system ifeq ($(CONFIG_ARMV7R_TOOLCHAIN),GNU_EABIL) diff --git a/arch/arm/src/armv8-m/Kconfig b/arch/arm/src/armv8-m/Kconfig index 9d4a45a167..991f740049 100644 --- a/arch/arm/src/armv8-m/Kconfig +++ b/arch/arm/src/armv8-m/Kconfig @@ -106,41 +106,11 @@ choice default ARMV8M_TOOLCHAIN_GNU_EABIW if TOOLCHAIN_WINDOWS default ARMV8M_TOOLCHAIN_GNU_EABIL if !TOOLCHAIN_WINDOWS -config ARMV8M_TOOLCHAIN_ATOLLIC - bool "Atollic Lite/Pro for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - config ARMV8M_TOOLCHAIN_BUILDROOT bool "Buildroot (Cygwin or Linux)" depends on !WINDOWS_NATIVE select ARCH_TOOLCHAIN_GNU -config ARMV8M_TOOLCHAIN_CODEREDL - bool "CodeRed for Linux" - depends on HOST_LINUX - select ARCH_TOOLCHAIN_GNU - -config ARMV8M_TOOLCHAIN_CODEREDW - bool "CodeRed for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - -config ARMV8M_TOOLCHAIN_CODESOURCERYL - bool "CodeSourcery GNU toolchain under Linux" - depends on HOST_LINUX - select ARCH_TOOLCHAIN_GNU - -config ARMV8M_TOOLCHAIN_CODESOURCERYW - bool "CodeSourcery GNU toolchain under Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - -config ARMV8M_TOOLCHAIN_DEVKITARM - bool "devkitARM GNU toolchain" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - config ARMV8M_TOOLCHAIN_GNU_EABIL bool "Generic GNU EABI toolchain under Linux (or other POSIX environment)" depends on !WINDOWS_NATIVE @@ -167,11 +137,6 @@ config ARMV8M_TOOLCHAIN_CLANGW This option should work for any modern GNU toolchain (GCC 4.5 or newer) configured for arm-none-eabi. -config ARMV8M_TOOLCHAIN_RAISONANCE - bool "STMicro Raisonance for Windows" - depends on TOOLCHAIN_WINDOWS - select ARCH_TOOLCHAIN_GNU - endchoice config ARMV8M_OABI_TOOLCHAIN diff --git a/arch/arm/src/armv8-m/Toolchain.defs b/arch/arm/src/armv8-m/Toolchain.defs index 0415051520..7a355e1cb7 100644 --- a/arch/arm/src/armv8-m/Toolchain.defs +++ b/arch/arm/src/armv8-m/Toolchain.defs @@ -27,54 +27,12 @@ # command-line selection. # -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_ATOLLIC) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= ATOLLIC -endif - ifeq ($(filter y, \ $(CONFIG_ARMV8M_TOOLCHAIN_BUILDROOT) \ ),y) CONFIG_ARMV8M_TOOLCHAIN ?= BUILDROOT endif -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_CODEREDL) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= CODEREDL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_CODEREDW) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= CODEREDW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_CODESOURCERYL) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= CODESOURCERYL -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_CODESOURCERYW) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= CODESOURCERYW -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_DEVKITARM) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= DEVKITARM -endif - -ifeq ($(filter y, \ - $(CONFIG_ARMV8M_TOOLCHAIN_RAISONANCE) \ - ),y) - CONFIG_ARMV8M_TOOLCHAIN ?= RAISONANCE -endif - ifeq ($(filter y, \ $(CONFIG_ARMV8M_TOOLCHAIN_GNU_EABIL) \ ),y) @@ -140,17 +98,6 @@ else ifeq ($(CONFIG_ARCH_CORTEXM35P),y) endif endif -# Atollic toolchain under Windows - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),ATOLLIC) - CROSSDEV ?= arm-atollic-eabi- - ARCROSSDEV ?= arm-atollic-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif # NuttX buildroot under Linux or Cygwin @@ -167,59 +114,6 @@ endif MAXOPTIMIZATION ?= -Os endif -# Code Red RedSuite under Linux - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),CODEREDL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif - -# Code Red RedSuite under Windows - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),CODEREDW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# CodeSourcery under Linux - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),CODESOURCERYL) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -O2 - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif - -# CodeSourcery under Windows - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),CODESOURCERYW) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION ?= -Os - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif -endif - -# devkitARM under Windows - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),DEVKITARM) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif - # Generic GNU EABI toolchain on OS X, Linux or any typical Posix system ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),GNU_EABIL) @@ -262,13 +156,3 @@ ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),CLANGW) endif endif -# Raisonance RIDE7 under Windows - -ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),RAISONANCE) - CROSSDEV ?= arm-none-eabi- - ARCROSSDEV ?= arm-none-eabi- - ifeq ($(CONFIG_WINDOWS_CYGWIN),y) - WINTOOL = y - endif - ARCHCPUFLAGS = $(TOOLCHAIN_MCPU) -mthumb $(TOOLCHAIN_MFLOAT) -endif diff --git a/boards/arm/a1x/pcduino-a10/README.txt b/boards/arm/a1x/pcduino-a10/README.txt index a50ff3759d..2069e2c2a8 100644 --- a/boards/arm/a1x/pcduino-a10/README.txt +++ b/boards/arm/a1x/pcduino-a10/README.txt @@ -367,7 +367,7 @@ Configurations CONFIG_WINDOWS_CYGWIN=y : Using Cygwin or other POSIX environment System Type -> Toolchain: - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows Configuration Sub-directories ----------------------------- diff --git a/boards/arm/a1x/pcduino-a10/configs/nsh/defconfig b/boards/arm/a1x/pcduino-a10/configs/nsh/defconfig index 17ccb36ae5..bbb1952a9b 100644 --- a/boards/arm/a1x/pcduino-a10/configs/nsh/defconfig +++ b/boards/arm/a1x/pcduino-a10/configs/nsh/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP_A1X=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/am335x/beaglebone-black/README.txt b/boards/arm/am335x/beaglebone-black/README.txt index 27b1996b5a..cee688421d 100644 --- a/boards/arm/am335x/beaglebone-black/README.txt +++ b/boards/arm/am335x/beaglebone-black/README.txt @@ -210,7 +210,7 @@ Configurations CONFIG_WINDOWS_CYGWIN=y : Using Cygwin or other POSIX environment System Type -> Toolchain: - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows Configuration Sub-directories ----------------------------- diff --git a/boards/arm/dm320/ntosd-dm320/README.txt b/boards/arm/dm320/ntosd-dm320/README.txt index 4dc2d11050..bbb65817cf 100644 --- a/boards/arm/dm320/ntosd-dm320/README.txt +++ b/boards/arm/dm320/ntosd-dm320/README.txt @@ -52,59 +52,15 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The devkitARM GNU toolchain, - 3. Raisonance GNU toolchain, or - 4. The NuttX buildroot Toolchain (see below), or - 5. Any generic arm-none-eabi GNU toolchain. + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the NuttX buildroot toolchain. However, - the make system is setup to default to use the devkitARM toolchain. To use - the CodeSourcery, devkitARM or Raisonance GNU toolchain, you simply need to - add one of the following configuration options to your .config (or defconfig) - file: + All testing has been conducted using the NuttX buildroot toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARM_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARM_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain - The toolchain may also be set using the kconfig-mconf utility (make menuconfig) - or by passing CONFIG_ARM_TOOLCHAIN= to make, where is one - of CODESOURCERYW, CODESOURCERYL, DEVKITARM, BUILDROOT or GNU_EABI as described - above. - - NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are - Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot - toolchains are Cygwin and/or Linux native toolchains. There are several limitations - to using a Windows based toolchain in a Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. - - NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization - level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with - -Os. - - NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. - Generic arm-none-eabi GNU Toolchain ----------------------------------- There are a number of toolchain projects providing support for ARMv4/v5 @@ -113,12 +69,6 @@ GNU Toolchain Options GCC ARM Embedded https://developer.arm.com/open-source/gnu-toolchain/gnu-rm - Summon ARM Toolchain - https://github.com/esden/summon-arm-toolchain - - Yagarto - http://www.yagarto.de - Others exist for various Linux distributions, MacPorts, etc. Any version based on GCC 4.6.3 or later should work. @@ -285,11 +235,11 @@ Common Configuration Notes b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 3. By default, all configurations assume the CodeSourcery toolchain under + 3. By default, all configurations assume the ARM EABI toolchain under Linux. This is easily reconfigured: CONFIG_HOST_LINUX=y - CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y Configuration Sub-Directories ----------------------------- diff --git a/boards/arm/dm320/ntosd-dm320/configs/nettest/defconfig b/boards/arm/dm320/ntosd-dm320/configs/nettest/defconfig index ddb1c91bcd..bf254165fe 100644 --- a/boards/arm/dm320/ntosd-dm320/configs/nettest/defconfig +++ b/boards/arm/dm320/ntosd-dm320/configs/nettest/defconfig @@ -10,7 +10,6 @@ CONFIG_ARCH_BOARD="ntosd-dm320" CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_CHIP="dm320" CONFIG_ARCH_CHIP_DM320=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/dm320/ntosd-dm320/configs/nsh/defconfig b/boards/arm/dm320/ntosd-dm320/configs/nsh/defconfig index 17fe553c76..f29b97d8a6 100644 --- a/boards/arm/dm320/ntosd-dm320/configs/nsh/defconfig +++ b/boards/arm/dm320/ntosd-dm320/configs/nsh/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_BOARD="ntosd-dm320" CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_CHIP="dm320" CONFIG_ARCH_CHIP_DM320=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_DISABLE_MQUEUE=y diff --git a/boards/arm/dm320/ntosd-dm320/configs/poll/defconfig b/boards/arm/dm320/ntosd-dm320/configs/poll/defconfig index 672eae2bf6..b742af1096 100644 --- a/boards/arm/dm320/ntosd-dm320/configs/poll/defconfig +++ b/boards/arm/dm320/ntosd-dm320/configs/poll/defconfig @@ -11,7 +11,6 @@ CONFIG_ARCH_BOARD="ntosd-dm320" CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_CHIP="dm320" CONFIG_ARCH_CHIP_DM320=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/dm320/ntosd-dm320/configs/webserver/defconfig b/boards/arm/dm320/ntosd-dm320/configs/webserver/defconfig index cc3910a862..369e9c604c 100644 --- a/boards/arm/dm320/ntosd-dm320/configs/webserver/defconfig +++ b/boards/arm/dm320/ntosd-dm320/configs/webserver/defconfig @@ -11,7 +11,6 @@ CONFIG_ARCH_BOARD="ntosd-dm320" CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_CHIP="dm320" CONFIG_ARCH_CHIP_DM320=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/efm32/efm32-g8xx-stk/README.txt b/boards/arm/efm32/efm32-g8xx-stk/README.txt index 5d70ce5293..e27951c563 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/README.txt +++ b/boards/arm/efm32/efm32-g8xx-stk/README.txt @@ -256,10 +256,10 @@ CONFIGURATIONS b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows diff --git a/boards/arm/efm32/efm32-g8xx-stk/configs/nsh/defconfig b/boards/arm/efm32/efm32-g8xx-stk/configs/nsh/defconfig index 00babc822b..f740b7a1f2 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/configs/nsh/defconfig +++ b/boards/arm/efm32/efm32-g8xx-stk/configs/nsh/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="efm32" CONFIG_ARCH_CHIP_EFM32=y CONFIG_ARCH_CHIP_EFM32G890F128=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=2662 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/efm32/efm32gg-stk3700/README.txt b/boards/arm/efm32/efm32gg-stk3700/README.txt index 65d688f11d..29aed94c84 100644 --- a/boards/arm/efm32/efm32gg-stk3700/README.txt +++ b/boards/arm/efm32/efm32gg-stk3700/README.txt @@ -208,10 +208,10 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows diff --git a/boards/arm/efm32/efm32gg-stk3700/configs/nsh/defconfig b/boards/arm/efm32/efm32gg-stk3700/configs/nsh/defconfig index cae9cbffa5..4f3bfa08ae 100644 --- a/boards/arm/efm32/efm32gg-stk3700/configs/nsh/defconfig +++ b/boards/arm/efm32/efm32gg-stk3700/configs/nsh/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="efm32" CONFIG_ARCH_CHIP_EFM32=y CONFIG_ARCH_CHIP_EFM32GG990F1024=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=4787 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/README.txt b/boards/arm/efm32/olimex-efm32g880f128-stk/README.txt index acd485535b..09143771b1 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/README.txt +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/README.txt @@ -156,10 +156,11 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows + diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/configs/nsh/defconfig b/boards/arm/efm32/olimex-efm32g880f128-stk/configs/nsh/defconfig index b33a64062c..1d4ac6e7cd 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/configs/nsh/defconfig +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/configs/nsh/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="efm32" CONFIG_ARCH_CHIP_EFM32=y CONFIG_ARCH_CHIP_EFM32G880F128=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=2662 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/kinetis/freedom-k64f/README.txt b/boards/arm/kinetis/freedom-k64f/README.txt index 48fac3535c..d29d5a2d2d 100644 --- a/boards/arm/kinetis/freedom-k64f/README.txt +++ b/boards/arm/kinetis/freedom-k64f/README.txt @@ -625,27 +625,6 @@ GNU Toolchain Options You may also have to modify the PATH environment variable if your make cannot find the tools. - NOTE: Using native Windows toolchains under Cygwin has some limitations. - This incuudes the CodeSourcery (for Windows) and devkitARM toolchains are - Windows native toolchains. The biggest limitations are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. - Freedom K64F Configuration Options ================================== diff --git a/boards/arm/kinetis/freedom-k66f/README.txt b/boards/arm/kinetis/freedom-k66f/README.txt index cfc2c3727b..8cf32b832c 100644 --- a/boards/arm/kinetis/freedom-k66f/README.txt +++ b/boards/arm/kinetis/freedom-k66f/README.txt @@ -625,30 +625,6 @@ GNU Toolchain Options CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y - You may also have to modify the PATH environment variable if your make cannot - find the tools. - - NOTE: Using native Windows toolchains under Cygwin has some limitations. - This incuudes the CodeSourcery (for Windows) and devkitARM toolchains are - Windows native toolchains. The biggest limitations are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. - Freedom K66F Configuration Options ================================== diff --git a/boards/arm/kinetis/teensy-3.x/README.txt b/boards/arm/kinetis/teensy-3.x/README.txt index 3762159650..40753db685 100644 --- a/boards/arm/kinetis/teensy-3.x/README.txt +++ b/boards/arm/kinetis/teensy-3.x/README.txt @@ -292,13 +292,13 @@ NOTES: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows Support for builtin applications is enabled, but in the base configuration diff --git a/boards/arm/kl/freedom-kl25z/README.txt b/boards/arm/kl/freedom-kl25z/README.txt index 5e47c098b4..4a80d94138 100644 --- a/boards/arm/kl/freedom-kl25z/README.txt +++ b/boards/arm/kl/freedom-kl25z/README.txt @@ -300,13 +300,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. Serial Console. A serial console is necessary to interrupt with NSH. The serial console is configured on UART0 which is available diff --git a/boards/arm/kl/freedom-kl26z/README.txt b/boards/arm/kl/freedom-kl26z/README.txt index b359187082..b30bcc64b4 100644 --- a/boards/arm/kl/freedom-kl26z/README.txt +++ b/boards/arm/kl/freedom-kl26z/README.txt @@ -278,13 +278,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. Serial Console. A serial console is necessary to interrupt with NSH. The serial console is configured on UART0 which is available diff --git a/boards/arm/lpc17xx_40xx/lincoln60/README.txt b/boards/arm/lpc17xx_40xx/lincoln60/README.txt index 08d111284c..0a31b4f566 100644 --- a/boards/arm/lpc17xx_40xx/lincoln60/README.txt +++ b/boards/arm/lpc17xx_40xx/lincoln60/README.txt @@ -293,7 +293,7 @@ Where is one of the following: reconfiguration process. 2. This configuration is setup to build under Windows with Cygwin using - the CodeSourcery toolchain. That is, however, easily reconfigured. + the ARM EABI toolchain. That is, however, easily reconfigured. 3. This configuration uses a serial console on UART0 at 115200 8N1. This is the serial port at the connector labelled COM1 on the @@ -343,12 +343,12 @@ Where is one of the following: NOTES: - 1. Uses the CodeSourcery EABI toolchain under Windows. But that is + 1. Uses the ARM EABI toolchain under Windows. But that is easily reconfigured: CONFIG_HOST_WINDOWS=y : Windows CONFIG_HOST_WINDOWS_CYGWIN=y : under Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery toolchain + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows STATUS: 2015-06-06: The BINFS CGI files are seems to be running, but the diff --git a/boards/arm/lpc17xx_40xx/lincoln60/configs/netnsh/defconfig b/boards/arm/lpc17xx_40xx/lincoln60/configs/netnsh/defconfig index e839372118..7b0b9cb2e0 100644 --- a/boards/arm/lpc17xx_40xx/lincoln60/configs/netnsh/defconfig +++ b/boards/arm/lpc17xx_40xx/lincoln60/configs/netnsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_LPC1769=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_INTERRUPTSTACK=1536 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=7982 CONFIG_ETH0_PHY_KSZ8041=y CONFIG_FS_FAT=y diff --git a/boards/arm/lpc17xx_40xx/lincoln60/configs/nsh/defconfig b/boards/arm/lpc17xx_40xx/lincoln60/configs/nsh/defconfig index 207fbe7c45..805eeb44e5 100644 --- a/boards/arm/lpc17xx_40xx/lincoln60/configs/nsh/defconfig +++ b/boards/arm/lpc17xx_40xx/lincoln60/configs/nsh/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1769=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=7982 CONFIG_FS_FAT=y CONFIG_LPC17_40_SSP0=y diff --git a/boards/arm/lpc17xx_40xx/lincoln60/configs/thttpd-binfs/defconfig b/boards/arm/lpc17xx_40xx/lincoln60/configs/thttpd-binfs/defconfig index e1a66aa79d..7683a67ae1 100644 --- a/boards/arm/lpc17xx_40xx/lincoln60/configs/thttpd-binfs/defconfig +++ b/boards/arm/lpc17xx_40xx/lincoln60/configs/thttpd-binfs/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP_LPC1769=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_INTERRUPTSTACK=1024 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=7982 CONFIG_BUILTIN=y CONFIG_CONSOLE_SYSLOG=y diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/README.txt b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/README.txt index bdf9ffa102..006088e472 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/README.txt +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/README.txt @@ -652,8 +652,8 @@ Where is one of the following: 3. Build setup (easily reconfigured): - CONFIG_HOST_LINUX=y : Linux - CONFIG_ARMV7M_TOOLCHAIN_CODEREDL=y : CodeRed for Linux + CONFIG_HOST_LINUX=y : Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux 4. Jumpers: Nothing special. Use the default base board jumper settings. diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/dhcpd/defconfig b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/dhcpd/defconfig index f81555b90f..98992958e9 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/dhcpd/defconfig +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/dhcpd/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODEREDL=y CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nsh/defconfig b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nsh/defconfig index 3ac0b54458..ab4d594bbc 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nsh/defconfig +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODEREDL=y CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_ETH0_PHY_LAN8720=y CONFIG_FS_FAT=y diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nx/defconfig b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nx/defconfig index 8ae067712f..144ef75e72 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nx/defconfig +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/nx/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODEREDL=y CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/thttpd/defconfig b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/thttpd/defconfig index ecd0f31c41..d08c46fd69 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/thttpd/defconfig +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/thttpd/defconfig @@ -12,7 +12,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODEREDL=y CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_MQUEUE=y diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/usbmsc/defconfig b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/usbmsc/defconfig index 6d1f0a683e..016ea8e00b 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/usbmsc/defconfig +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/configs/usbmsc/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1768=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODEREDL=y CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_INTELHEX_BINARY=y CONFIG_LIB_BOARDCTL=y diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt index 6ca8525e75..53e5b8da6c 100644 --- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt +++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt @@ -420,7 +420,7 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator (gdb) target remote localhost:3333 NOTE: The name of your GDB program may differ. For example, with the - CodeSourcery toolchain, the ARM GDB would be called arm-none-eabi-gdb. + ARM EABI toolchain, the ARM GDB would be called arm-none-eabi-gdb. After starting GDB, you can load the NuttX ELF file: @@ -780,7 +780,7 @@ Configuration Sub-Directories CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 2. The mouse is really useless with no display and no cursor. So this configuration is only suited for low-level testing. It is also awkward @@ -888,12 +888,12 @@ Configuration Sub-Directories NOTES: - 1. Uses the CodeSourcery EABI toolchain under Windows. But that is + 1. Uses the ARM EABI toolchain under Windows. But that is easily reconfigured: CONFIG_HOST_WINDOWS=y : Windows CONFIG_HOST_WINDOWS_CYGWIN=y : under Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery toolchain + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows STATUS: 2015-06-02. This configuration was added in an attempt to replace diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidmouse/defconfig b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidmouse/defconfig index 049752fc75..4c2dc1a37c 100644 --- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidmouse/defconfig +++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidmouse/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=8111 CONFIG_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN=y diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/thttpd-binfs/defconfig b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/thttpd-binfs/defconfig index 4dfa78e019..baccc7c0cd 100644 --- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/thttpd-binfs/defconfig +++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/thttpd-binfs/defconfig @@ -12,7 +12,6 @@ CONFIG_ARCH_CHIP="lpc17xx_40xx" CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_CHIP_LPC17XX_40XX=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=8111 CONFIG_BUILTIN=y CONFIG_CONSOLE_SYSLOG=y diff --git a/boards/arm/lpc214x/mcu123-lpc214x/README.txt b/boards/arm/lpc214x/mcu123-lpc214x/README.txt index e5cf9dedf5..82ad659317 100644 --- a/boards/arm/lpc214x/mcu123-lpc214x/README.txt +++ b/boards/arm/lpc214x/mcu123-lpc214x/README.txt @@ -31,9 +31,8 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The NuttX buildroot Toolchain (see below). - 2. The CodeSourcery GNU toolchain, - 3. The devkitARM GNU toolchain, or + 1. The NuttX buildroot Toolchain (see below), or + 2. The GNU EABI toolchain, All testing has been conducted using the NuttX buildroot toolchain. To use the CodeSourcery or devkitARM GNU toolchain, you simply need to build the @@ -41,41 +40,12 @@ GNU Toolchain Options make # Will build for the NuttX buildroot toolchain make CROSSDEV=arm-eabi- # Will build for the devkitARM toolchain - make CROSSDEV=arm-none-eabi- # Will build for the CodeSourcery toolchain + make CROSSDEV=arm-none-eabi- # Will build for the ARM EABI toolchain make CROSSDEV=arm-nuttx-elf- # Will build for the NuttX buildroot toolchain Of course, hard coding this CROSS_COMPILE value in Make.defs file will save some repetitive typing. - NOTE: the CodeSourcery and devkitARM toolchains are Windows native toolchains. - The NuttX buildroot toolchain is a Cygwin toolchain. There are several limitations - to using a Windows based toolchain in a Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context; make CROSSDEV=arm-none-eabi- - - An alias in your .bashrc file might make that less painful. - - NOTE 1: The CodeSourcery toolchain (2009q1) may not work with default optimization - level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with - -Os. - - NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. - NuttX buildroot Toolchain ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/boards/arm/lpc2378/olimex-lpc2378/configs/nsh/defconfig b/boards/arm/lpc2378/olimex-lpc2378/configs/nsh/defconfig index c5d930528d..3601eb54d7 100644 --- a/boards/arm/lpc2378/olimex-lpc2378/configs/nsh/defconfig +++ b/boards/arm/lpc2378/olimex-lpc2378/configs/nsh/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_BOARD_OLIMEXLPC2378=y CONFIG_ARCH_CHIP="lpc2378" CONFIG_ARCH_CHIP_LPC2378=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=3270 CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_LPC2378_UART0=y diff --git a/boards/arm/lpc31xx/ea3131/README.txt b/boards/arm/lpc31xx/ea3131/README.txt index 2a682abe08..ccfd1e2289 100644 --- a/boards/arm/lpc31xx/ea3131/README.txt +++ b/boards/arm/lpc31xx/ea3131/README.txt @@ -32,62 +32,15 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The devkitARM GNU toolchain, - 3. Raisonance GNU toolchain, - 4. The NuttX buildroot Toolchain (see below), or - 5. Any generic arm-none-eabi GNU toolchain. + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the NuttX buildroot toolchain. However, - the make system is setup to default to use the devkitARM toolchain. To use - the CodeSourcery, devkitARM or Raisonance GNU toolchain, you simply need to - add one of the following configuration options to your .config (or defconfig) - file: + All testing has been conducted using the NuttX buildroot toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARM_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARM_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain - You may also have to modify the PATH environment variable if your make cannot - find the tools. - - The toolchain may also be set using the kconfig-mconf utility (make menuconfig) or by - passing CONFIG_ARM_TOOLCHAIN= to make, where is one - of CODESOURCERYW, CODESOURCERYL, DEVKITARM, BUILDROOT or GNU_EABI as described - above. - - NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are - Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot - toolchains are Cygwin and/or Linux native toolchains. There are several limitations - to using a Windows based toolchain in a Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. - - NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization - level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with - -Os. - - NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. - Generic arm-none-eabi GNU Toolchain ----------------------------------- There are a number of toolchain projects providing support for ARMv4/v5 @@ -96,12 +49,6 @@ GNU Toolchain Options GCC ARM Embedded https://developer.arm.com/open-source/gnu-toolchain/gnu-rm - Summon ARM Toolchain - https://github.com/esden/summon-arm-toolchain - - Yagarto - http://www.yagarto.de - Others exist for various Linux distributions, MacPorts, etc. Any version based on GCC 4.6.3 or later should work. @@ -608,12 +555,12 @@ Common Configuration Notes b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 3. By default, all configurations assume the CodeSourcery toolchain + 3. By default, all configurations assume the ARM EABI toolchain under Cygwin with Windows. This is easily reconfigured, however: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARM_TOOLCHAIN_GNU_EABIW=y Configuration Sub-Directories ----------------------------- diff --git a/boards/arm/lpc31xx/ea3131/configs/nsh/defconfig b/boards/arm/lpc31xx/ea3131/configs/nsh/defconfig index d220900a9e..cc9fe04929 100644 --- a/boards/arm/lpc31xx/ea3131/configs/nsh/defconfig +++ b/boards/arm/lpc31xx/ea3131/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP_LPC31XX=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_FS_FAT=y diff --git a/boards/arm/lpc31xx/ea3131/configs/pgnsh/defconfig b/boards/arm/lpc31xx/ea3131/configs/pgnsh/defconfig index bf04ef0dea..128ed201f1 100644 --- a/boards/arm/lpc31xx/ea3131/configs/pgnsh/defconfig +++ b/boards/arm/lpc31xx/ea3131/configs/pgnsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_LPC3131=y CONFIG_ARCH_CHIP_LPC31XX=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_BUILD_2PASS=y diff --git a/boards/arm/lpc31xx/ea3131/configs/usbserial/defconfig b/boards/arm/lpc31xx/ea3131/configs/usbserial/defconfig index 679ed84f22..6b296e94f5 100644 --- a/boards/arm/lpc31xx/ea3131/configs/usbserial/defconfig +++ b/boards/arm/lpc31xx/ea3131/configs/usbserial/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP_LPC31XX=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_CONSOLE_SYSLOG=y diff --git a/boards/arm/lpc31xx/ea3152/README.txt b/boards/arm/lpc31xx/ea3152/README.txt index 7e7f57c57c..4c2f46c724 100644 --- a/boards/arm/lpc31xx/ea3152/README.txt +++ b/boards/arm/lpc31xx/ea3152/README.txt @@ -31,62 +31,15 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The devkitARM GNU toolchain, - 3. Raisonance GNU toolchain, - 4. The NuttX buildroot Toolchain (see below), or - 5. Any generic arm-none-eabi GNU toolchain. + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the NuttX buildroot toolchain. However, - the make system is setup to default to use the devkitARM toolchain. To use - the CodeSourcery, devkitARM or Raisonance GNU toolchain, you simply need to - add one of the following configuration options to your .config (or defconfig) - file: + All testing has been conducted using the NuttX buildroot toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARM_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARM_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain - You may also have to modify the PATH environment variable if your make cannot - find the tools. - - The toolchain may also be set using the kconfig-mconf utility (make menuconfig) - or by passing CONFIG_ARM_TOOLCHAIN= to make, where is one - of CODESOURCERYW, CODESOURCERYL, DEVKITARM, BUILDROOT or GNU_EABI as described - above. - - NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are - Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot - toolchains are Cygwin and/or Linux native toolchains. There are several limitations - to using a Windows based toolchain in a Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. - - NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization - level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with - -Os. - - NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. - Generic arm-none-eabi GNU Toolchain ----------------------------------- There are a number of toolchain projects providing support for ARMv4/v5 @@ -95,12 +48,6 @@ GNU Toolchain Options GCC ARM Embedded https://developer.arm.com/open-source/gnu-toolchain/gnu-rm - Summon ARM Toolchain - https://github.com/esden/summon-arm-toolchain - - Yagarto - http://www.yagarto.de - Others exist for various Linux distributions, MacPorts, etc. Any version based on GCC 4.6.3 or later should work. diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/README.txt b/boards/arm/lpc31xx/olimex-lpc-h3131/README.txt index ee85dd8253..4a3bca75dd 100644 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/README.txt +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/README.txt @@ -36,59 +36,14 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The devkitARM GNU toolchain, - 3. Raisonance GNU toolchain, - 4. The NuttX buildroot Toolchain (see below), or - 5. Any generic arm-none-eabi GNU toolchain. + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the NuttX buildroot toolchain. However, - the make system is setup to default to use the devkitARM toolchain. To use - the CodeSourcery, devkitARM or Raisonance GNU toolchain, you simply need to - add one of the following configuration options to your .config (or defconfig) - file: + All testing has been conducted using the NuttX buildroot toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARM_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARM_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) - CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain for Linux - CONFIG_ARM_TOOLCHAIN_GNU_EABIW : Generic arm-none-eabi toolchain for Windows - - The toolchain may also be set using the kconfig-mconf utility (make menuconfig) or by - passing CONFIG_ARM_TOOLCHAIN= to make, where is one - of CODESOURCERYW, CODESOURCERYL, DEVKITARM, BUILDROOT or GNU_EABI as described - above. - - NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are - Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot - toolchains are Cygwin and/or Linux native toolchains. There are several limitations - to using a Windows based toolchain in a Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. - - NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization - level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with - -Os. - - NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. + CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain Generic arm-none-eabi GNU Toolchain ----------------------------------- @@ -98,12 +53,6 @@ GNU Toolchain Options GCC ARM Embedded https://developer.arm.com/open-source/gnu-toolchain/gnu-rm - Summon ARM Toolchain - https://github.com/esden/summon-arm-toolchain - - Yagarto - http://www.yagarto.de - Others exist for various Linux distributions, MacPorts, etc. Any version based on GCC 4.6.3 or later should work. @@ -543,7 +492,7 @@ Configurations - Console on UART -> UART-to-USB converter - Platform: Windows with Cygwin - - Toolchain: CodeSourcery for Windows + - Toolchain: ARM EABI GCC for Windows NOTES: 1. Built-in applications are not supported by default. To enable NSH diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/configs/nsh/defconfig b/boards/arm/lpc31xx/olimex-lpc-h3131/configs/nsh/defconfig index 2a92499aa4..4985238d70 100644 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/configs/nsh/defconfig +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP_LPC31XX=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_ROMPGTABLE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=4287 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_FAT_LCNAMES=y diff --git a/boards/arm/lpc43xx/bambino-200e/README.txt b/boards/arm/lpc43xx/bambino-200e/README.txt index c8c15d28d1..ae131262bf 100644 --- a/boards/arm/lpc43xx/bambino-200e/README.txt +++ b/boards/arm/lpc43xx/bambino-200e/README.txt @@ -123,32 +123,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to -boards/arm/stm32/stm3240g-eval/configs/nsh2 in order to successfully build NuttX using -the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=n : Enable the Atollic toolchains - +CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : - - -CONFIG_INTELHEX_BINARY=y : Suppress generation FLASH download formats - +CONFIG_INTELHEX_BINARY=n : (Only necessary with the "Lite" version) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - Bambino-200e Configuration Options ================================== @@ -453,8 +427,8 @@ Where is one of the following: 2. By default, this project assumes that you are executing directly from SRAM. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. To execute from SPIFI, you would need to set: diff --git a/boards/arm/lpc43xx/lpc4330-xplorer/README.txt b/boards/arm/lpc43xx/lpc4330-xplorer/README.txt index 97d4f97b00..803431b48a 100644 --- a/boards/arm/lpc43xx/lpc4330-xplorer/README.txt +++ b/boards/arm/lpc43xx/lpc4330-xplorer/README.txt @@ -278,15 +278,15 @@ Code Red IDE/Tools By default, the configurations here assume that you are executing directly from SRAM. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows To execute from SPIFI, you would need to set: - CONFIG_LPC43_BOOT_SPIFI=y : Executing from SPIFI - CONFIG_RAM_SIZE=(128*1024) : SRAM Bank0 size - CONFIG_RAM_START=0x10000000 : SRAM Bank0 base address - CONFIG_SPIFI_OFFSET=(512*1024) : SPIFI file system offset + CONFIG_LPC43_BOOT_SPIFI=y : Executing from SPIFI + CONFIG_RAM_SIZE=(128*1024) : SRAM Bank0 size + CONFIG_RAM_START=0x10000000 : SRAM Bank0 base address + CONFIG_SPIFI_OFFSET=(512*1024) : SPIFI file system offset To boot the LPC4330-Xplorer from SPIFI the DIP switches should be 1-OFF, 2-ON, 3-ON, 4-ON (LOW LOW LOW HIGH in Table 19, MSB to LSB). @@ -375,31 +375,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=n : Enable the Atollic toolchains - +CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : - - -CONFIG_INTELHEX_BINARY=y : Suppress generation FLASH download formats - +CONFIG_INTELHEX_BINARY=n : (Only necessary with the "Lite" version) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - LPC4330-Xplorer Configuration Options ===================================== @@ -613,8 +588,8 @@ Where is one of the following: 2. By default, this project assumes that you are executing directly from SRAM. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. To execute from SPIFI, you would need to set: diff --git a/boards/arm/lpc43xx/lpc4330-xplorer/configs/nsh/defconfig b/boards/arm/lpc43xx/lpc4330-xplorer/configs/nsh/defconfig index 212341af5f..53495a054f 100644 --- a/boards/arm/lpc43xx/lpc4330-xplorer/configs/nsh/defconfig +++ b/boards/arm/lpc43xx/lpc4330-xplorer/configs/nsh/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_CHIP_LPC4330FET100=y CONFIG_ARCH_CHIP_LPC43XX=y CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_STDARG_H=y -CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y CONFIG_BOARD_LOOPSPERMSEC=18535 CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y diff --git a/boards/arm/lpc43xx/lpc4337-ws/README.txt b/boards/arm/lpc43xx/lpc4337-ws/README.txt index 66e5445f94..c641f11b59 100644 --- a/boards/arm/lpc43xx/lpc4337-ws/README.txt +++ b/boards/arm/lpc43xx/lpc4337-ws/README.txt @@ -274,8 +274,8 @@ Code Red IDE/Tools By default, the configurations here assume that you are executing directly from SRAM. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows To execute from SPIFI, you would need to set: @@ -414,31 +414,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=n : Enable the Atollic toolchains - +CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : - - -CONFIG_INTELHEX_BINARY=y : Suppress generation FLASH download formats - +CONFIG_INTELHEX_BINARY=n : (Only necessary with the "Lite" version) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - LPC4337-ws Configuration Options ===================================== @@ -652,8 +627,8 @@ Where is one of the following: 2. The project can exucute directly from SRAM with NuttX loaded by a debugger by setting the following configuration options. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. To execute from SPIFI, you would need to set: diff --git a/boards/arm/lpc43xx/lpc4357-evb/README.txt b/boards/arm/lpc43xx/lpc4357-evb/README.txt index 1456c58a57..4778ad9a55 100644 --- a/boards/arm/lpc43xx/lpc4357-evb/README.txt +++ b/boards/arm/lpc43xx/lpc4357-evb/README.txt @@ -271,8 +271,8 @@ Code Red IDE/Tools By default, the configurations here assume that you are executing directly from SRAM. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux To execute from SPIFI, you would need to set: @@ -411,31 +411,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=n : Enable the Atollic toolchains - +CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : - - -CONFIG_INTELHEX_BINARY=y : Suppress generation FLASH download formats - +CONFIG_INTELHEX_BINARY=n : (Only necessary with the "Lite" version) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - LPC4357-EVB Configuration Options ===================================== @@ -649,8 +624,8 @@ Where is one of the following: 2. The project can exucute directly from SRAM with NuttX loaded by a debugger by setting the following configuration options. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. To execute from SPIFI, you would need to set: diff --git a/boards/arm/lpc43xx/lpc4370-link2/README.txt b/boards/arm/lpc43xx/lpc4370-link2/README.txt index 412163b6f4..23df05f143 100644 --- a/boards/arm/lpc43xx/lpc4370-link2/README.txt +++ b/boards/arm/lpc43xx/lpc4370-link2/README.txt @@ -274,8 +274,8 @@ Code Red IDE/Tools By default, the configurations here assume that you are executing directly from SRAM. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows To execute from SPIFI, you would need to set: @@ -414,31 +414,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=n : Enable the Atollic toolchains - +CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : - - -CONFIG_INTELHEX_BINARY=y : Suppress generation FLASH download formats - +CONFIG_INTELHEX_BINARY=n : (Only necessary with the "Lite" version) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - LPC4370-Link2 Configuration Options ===================================== @@ -652,8 +627,8 @@ Where is one of the following: 2. The project can exucute directly from SRAM with NuttX loaded by a debugger by setting the following configuration options. - CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM - CONFIG_ARMV7M_TOOLCHAIN_CODEREDW=y : Code Red under Windows + CONFIG_LPC43_BOOT_SRAM=y : Executing in SRAM + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. To execute from SPIFI, you would need to set: diff --git a/boards/arm/nuc1xx/nutiny-nuc120/README.txt b/boards/arm/nuc1xx/nutiny-nuc120/README.txt index ee41df3b87..14ca3e61d1 100644 --- a/boards/arm/nuc1xx/nutiny-nuc120/README.txt +++ b/boards/arm/nuc1xx/nutiny-nuc120/README.txt @@ -281,13 +281,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. Serial Console. A serial console is necessary to interrupt with NSH. The serial console is configured on UART1 which is available diff --git a/boards/arm/sam34/sam4e-ek/configs/nsh/defconfig b/boards/arm/sam34/sam4e-ek/configs/nsh/defconfig index 318acd4a8b..9355a98663 100644 --- a/boards/arm/sam34/sam4e-ek/configs/nsh/defconfig +++ b/boards/arm/sam34/sam4e-ek/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP_SAM34=y CONFIG_ARCH_CHIP_SAM4E=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=11990 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_KSZ8051=y diff --git a/boards/arm/sam34/sam4e-ek/configs/nxwm/defconfig b/boards/arm/sam34/sam4e-ek/configs/nxwm/defconfig index 086ed4296b..a30625211c 100644 --- a/boards/arm/sam34/sam4e-ek/configs/nxwm/defconfig +++ b/boards/arm/sam34/sam4e-ek/configs/nxwm/defconfig @@ -24,7 +24,6 @@ CONFIG_ARCH_CHIP_SAM34=y CONFIG_ARCH_CHIP_SAM4E=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=11990 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_KSZ8051=y diff --git a/boards/arm/sama5/sama5d2-xult/README.txt b/boards/arm/sama5/sama5d2-xult/README.txt index 0b4de6345b..0104d9dbcd 100644 --- a/boards/arm/sama5/sama5d2-xult/README.txt +++ b/boards/arm/sama5/sama5d2-xult/README.txt @@ -759,23 +759,6 @@ Configurations System Type -> Toolchain: CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for windows - That same configuration will work with Atmel GCC toolchain. The only - change required to use the Atmel GCC toolchain is to change the PATH - variable so that those tools are selected instead of the CodeSourcery - tools. Try 'which arm-none-eabi-gcc' to make sure that you are - selecting the right tool. - - See also the "NOTE about Windows native toolchains" in the section call - "GNU Toolchain Options" above. - - !!!WARNING!!! The first time that you type 'make', the system will - configure itself based on the settings in the .config file. One of - these settings can cause a lot of confusion if you configure the build - in the wrong state: If you are running on Linux, make *certain* that - you have CONFIG_HOST_LINUX=y *before* the first make or you will - create a very corrupt configuration that may not be easy to recover - from. - 4. The SAMA5Dx is running at 528MHz by default in these configurations. Board Selection -> CPU Frequency diff --git a/boards/arm/sama5/sama5d3-xplained/README.txt b/boards/arm/sama5/sama5d3-xplained/README.txt index 8ebc531a17..e31a3b42fe 100644 --- a/boards/arm/sama5/sama5d3-xplained/README.txt +++ b/boards/arm/sama5/sama5d3-xplained/README.txt @@ -108,17 +108,9 @@ GNU Toolchain Options a different toolchain, you simply need to add change to one of the following configuration options to your .config (or defconfig) file: - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7A_TOOLCHAIN_ATOLLIC=y : Atollic toolchain for Windows - CONFIG_ARMV7A_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARMV7A_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) - CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux - CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows - - The CodeSourcery GCC toolchain is selected with - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y and setting the PATH variable - appropriately. + CONFIG_ARMV7A_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows NOTE about Windows native toolchains ------------------------------------ @@ -3123,23 +3115,6 @@ Configurations System Type -> Toolchain: CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for windows - That same configuration will work with Atmel GCC toolchain. The only - change required to use the Atmel GCC toolchain is to change the PATH - variable so that those tools are selected instead of the CodeSourcery - tools. Try 'which arm-none-eabi-gcc' to make sure that you are - selecting the right tool. - - See also the "NOTE about Windows native toolchains" in the section call - "GNU Toolchain Options" above. - - !!!WARNING!!! The first time that you type 'make', the system will - configure itself based on the settings in the .config file. One of - these settings can cause a lot of confusion if you configure the build - in the wrong state: If you are running on Linux, make *certain* that - you have CONFIG_HOST_LINUX=y *before* the first make or you will - create a very corrupt configuration that may not be easy to recover - from. - 4. The SAMA5Dx is running at 396MHz by default in these configurations. This is because the original timing for the PLLs, NOR FLASH, and SDRAM came from the Atmel NoOS sample code which runs at that rate. @@ -3197,13 +3172,12 @@ Configurations 2. By default, this configuration is set up to build on Windows under either a Cygwin or MSYS environment using a recent, Windows- - native, generic ARM EABI GCC toolchain (such as the CodeSourcery - toolchain). Both the build environment and the toolchain - selection can easily be changed by reconfiguring: + native, generic ARM EABI GCC toolchain. Both the build environment + and the toolchain selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -3260,13 +3234,12 @@ Configurations 2. By default, this configuration is set up to build on Windows under either a Cygwin or MSYS environment using a recent, Windows- - native, generic ARM EABI GCC toolchain (such as the CodeSourcery - toolchain). Both the build environment and the toolchain - selection can easily be changed by reconfiguring: + native, generic ARM EABI GCC toolchain. Both the build environment + and the toolchain selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a diff --git a/boards/arm/sama5/sama5d3-xplained/configs/bridge/defconfig b/boards/arm/sama5/sama5d3-xplained/configs/bridge/defconfig index f0dfc939fa..54e6f0bc01 100644 --- a/boards/arm/sama5/sama5d3-xplained/configs/bridge/defconfig +++ b/boards/arm/sama5/sama5d3-xplained/configs/bridge/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/sama5/sama5d3-xplained/configs/nsh/defconfig b/boards/arm/sama5/sama5d3-xplained/configs/nsh/defconfig index 7637763e2b..46ee8ecd3e 100644 --- a/boards/arm/sama5/sama5d3-xplained/configs/nsh/defconfig +++ b/boards/arm/sama5/sama5d3-xplained/configs/nsh/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/sama5/sama5d3x-ek/README.txt b/boards/arm/sama5/sama5d3x-ek/README.txt index e6d8bec8a7..4622d9c8a5 100644 --- a/boards/arm/sama5/sama5d3x-ek/README.txt +++ b/boards/arm/sama5/sama5d3x-ek/README.txt @@ -130,41 +130,9 @@ GNU Toolchain Options a different toolchain, you simply need to add change to one of the following configuration options to your .config (or defconfig) file: - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7A_TOOLCHAIN_ATOLLIC=y : Atollic toolchain for Windows - CONFIG_ARMV7A_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARMV7A_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) - CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux - CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows - - The CodeSourcery GCC toolchain is selected with - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y and setting the PATH variable - appropriately. - - NOTE about Windows native toolchains - ------------------------------------ - - There are several limitations to using a Windows based toolchain in a - Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' - utility but you might easily find some new path problems. If so, check - out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic - links are used in Nuttx (e.g., include/arch). The make system works - around these problems for the Windows tools by copying directories - instead of linking them. But this can also cause some confusion for - you: For example, you may edit a file in a "linked" directory and find - that your changes had no effect. That is because you are building the - copy of the file in the "fake" symbolic directory. If you use a\ - Windows toolchain, you should get in the habit of making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. + CONFIG_ARMV7A_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows IDEs ==== @@ -3328,23 +3296,6 @@ Configurations System Type -> Toolchain: CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for windows - That same configuration will work with Atmel GCC toolchain. The only - change required to use the Atmel GCC toolchain is to change the PATH - variable so that those tools are selected instead of the CodeSourcery - tools. Try 'which arm-none-eabi-gcc' to make sure that you are - selecting the right tool. - - See also the "NOTE about Windows native toolchains" in the section call - "GNU Toolchain Options" above. - - !!!WARNING!!! The first time that you type 'make', the system will - configure itself based on the settings in the .config file. One of - these settings can cause a lot of confusion if you configure the build - in the wrong state: If you are running on Linux, make *certain* that - you have CONFIG_HOST_LINUX=y *before* the first make or you will - create a very corrupt configuration that may not be easy to recover - from. - 4. The SAMA5Dx is running at 396MHz by default in these configurations. This is because the original timing for the PLLs, NOR FLASH, and SDRAM came from the Atmel NoOS sample code which runs at that rate. @@ -3434,13 +3385,12 @@ Configurations 2. By default, this configuration is set up to build on Windows under either a Cygwin or MSYS environment using a recent, Windows- - native, generic ARM EABI GCC toolchain (such as the CodeSourcery - toolchain). Both the build environment and the toolchain - selection can easily be changed by reconfiguring: + native, generic ARM EABI GCC toolchain. Both the build environment + and the toolchain selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -3517,8 +3467,8 @@ Configurations selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -3590,8 +3540,8 @@ Configurations selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a diff --git a/boards/arm/sama5/sama5d3x-ek/configs/demo/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/demo/defconfig index 5ef92be52b..6bc23372dc 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/demo/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/demo/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_AT25_SPIFREQUENCY=10000000 CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BUILTIN=y diff --git a/boards/arm/sama5/sama5d3x-ek/configs/hello/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/hello/defconfig index 1992798d91..85ed5dbf62 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/hello/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/hello/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP_SAMA5=y CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_CONSOLE_SYSLOG=y diff --git a/boards/arm/sama5/sama5d3x-ek/configs/norboot/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/norboot/defconfig index 153f4a0278..09dfe22581 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/norboot/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/norboot/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP_SAMA5=y CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_CONSOLE_SYSLOG=y diff --git a/boards/arm/sama5/sama5d3x-ek/configs/nsh/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/nsh/defconfig index 05a510ae31..0980749d08 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/nsh/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BUILTIN=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/sama5/sama5d3x-ek/configs/nx/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/nx/defconfig index 5bbf46d841..fe65b31359 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/nx/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/nx/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BUILTIN=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/sama5/sama5d3x-ek/configs/nxplayer/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/nxplayer/defconfig index 27d9332757..97e18faf44 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/nxplayer/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/nxplayer/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_AUDIO_NUM_BUFFERS=8 CONFIG_AUDIO_WM8904=y CONFIG_BOARD_LOOPSPERMSEC=49341 diff --git a/boards/arm/sama5/sama5d3x-ek/configs/nxwm/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/nxwm/defconfig index 8a4522b0aa..935570e93c 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/nxwm/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/nxwm/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_BUILTIN=y CONFIG_FLASH_SIZE=134217728 diff --git a/boards/arm/sama5/sama5d3x-ek/configs/ov2640/defconfig b/boards/arm/sama5/sama5d3x-ek/configs/ov2640/defconfig index 98899b7d63..5d683b1927 100644 --- a/boards/arm/sama5/sama5d3x-ek/configs/ov2640/defconfig +++ b/boards/arm/sama5/sama5d3x-ek/configs/ov2640/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_SAMA5D3=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=49341 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/sama5/sama5d4-ek/README.txt b/boards/arm/sama5/sama5d4-ek/README.txt index 69e58a54dc..ee4bed8086 100644 --- a/boards/arm/sama5/sama5d4-ek/README.txt +++ b/boards/arm/sama5/sama5d4-ek/README.txt @@ -124,41 +124,9 @@ GNU Toolchain Options a different toolchain, you simply need to add change to one of the following configuration options to your .config (or defconfig) file: - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7A_TOOLCHAIN_ATOLLIC=y : Atollic toolchain for Windows - CONFIG_ARMV7A_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARMV7A_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) - CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux - CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows - - The CodeSourcery GCC toolchain is selected with - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y and setting the PATH variable - appropriately. - - NOTE about Windows native toolchains - ------------------------------------ - - There are several limitations to using a Windows based toolchain in a - Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' - utility but you might easily find some new path problems. If so, check - out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic - links are used in Nuttx (e.g., include/arch). The make system works - around these problems for the Windows tools by copying directories - instead of linking them. But this can also cause some confusion for - you: For example, you may edit a file in a "linked" directory and find - that your changes had no effect. That is because you are building the - copy of the file in the "fake" symbolic directory. If you use a\ - Windows toolchain, you should get in the habit of making like this: - - make clean_context all - - An alias in your .bashrc file might make that less painful. + CONFIG_ARMV7A_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows IDEs ==== @@ -3607,23 +3575,6 @@ Configurations System Type -> Toolchain: CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for windows - That same configuration will work with Atmel GCC toolchain. The only - change required to use the Atmel GCC toolchain is to change the PATH - variable so that those tools are selected instead of the CodeSourcery - tools. Try 'which arm-none-eabi-gcc' to make sure that you are - selecting the right tool. - - See also the "NOTE about Windows native toolchains" in the section call - "GNU Toolchain Options" above. - - !!!WARNING!!! The first time that you type 'make', the system will - configure itself based on the settings in the .config file. One of - these settings can cause a lot of confusion if you configure the build - in the wrong state: If you are running on Linux, make *certain* that - you have CONFIG_HOST_LINUX=y *before* the first make or you will - create a very corrupt configuration that may not be easy to recover - from. - 4. The SAMA5Dx is running at 528MHz by default in these configurations. Board Selection -> CPU Frequency @@ -3714,8 +3665,8 @@ Configurations selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -3783,8 +3734,8 @@ Configurations selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -3863,7 +3814,7 @@ Configurations CONFIG_HOST_WINDOWS=y : Windows operating system CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -4028,13 +3979,12 @@ Configurations 2. By default, this configuration is set up to build on Windows under either a Cygwin or MSYS environment using a recent, Windows- - native, generic ARM EABI GCC toolchain (such as the CodeSourcery - toolchain). Both the build environment and the toolchain - selection can easily be changed by reconfiguring: + native, generic ARM EABI GCC toolchain. Both the build environment + and the toolchain selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -4278,13 +4228,12 @@ Configurations 3. By default, this configuration is set up to build on Windows under either a Cygwin or MSYS environment using a recent, Windows- - native, generic ARM EABI GCC toolchain (such as the CodeSourcery - toolchain). Both the build environment and the toolchain - selection can easily be changed by reconfiguring: + native, generic ARM EABI GCC toolchain. Both the build environment + and the toolchain selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a @@ -4931,13 +4880,12 @@ Configurations 2. By default, this configuration is set up to build on Windows under either a Cygwin or MSYS environment using a recent, Windows- - native, generic ARM EABI GCC toolchain (such as the CodeSourcery - toolchain). Both the build environment and the toolchain - selection can easily be changed by reconfiguring: + native, generic ARM EABI GCC toolchain. Both the build environment + and the toolchain selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows If you are running on Linux, make *certain* that you have CONFIG_HOST_LINUX=y *before* the first make or you will create a diff --git a/boards/arm/sama5/sama5d4-ek/configs/at25boot/defconfig b/boards/arm/sama5/sama5d4-ek/configs/at25boot/defconfig index 2f6004b6f3..ca33131988 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/at25boot/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/at25boot/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_SAMA5=y CONFIG_ARCH_CHIP_SAMA5D4=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/sama5/sama5d4-ek/configs/bridge/defconfig b/boards/arm/sama5/sama5d4-ek/configs/bridge/defconfig index 0fddd31111..b5f76371e2 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/bridge/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/bridge/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_SAMA5D4=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/sama5/sama5d4-ek/configs/dramboot/defconfig b/boards/arm/sama5/sama5d4-ek/configs/dramboot/defconfig index 7f7bdbbc46..7527ac9aef 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/dramboot/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/dramboot/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_SAMA5=y CONFIG_ARCH_CHIP_SAMA5D4=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/sama5/sama5d4-ek/configs/elf/defconfig b/boards/arm/sama5/sama5d4-ek/configs/elf/defconfig index cafc95da32..664ae0deaa 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/elf/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/elf/defconfig @@ -29,7 +29,6 @@ CONFIG_ARCH_PGPOOL_VBASE=0x28000000 CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_TEXT_NPAGES=256 CONFIG_ARCH_TEXT_VBASE=0x80000000 -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMSDRAM=y diff --git a/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig b/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig index 0aee4540f6..3e32c722e2 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig @@ -25,7 +25,6 @@ CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_AUDIO_NUM_BUFFERS=8 CONFIG_AUDIO_WM8904=y CONFIG_BOARD_LOOPSPERMSEC=65775 diff --git a/boards/arm/sama5/sama5d4-ek/configs/knsh/defconfig b/boards/arm/sama5/sama5d4-ek/configs/knsh/defconfig index f6d76f08c4..ee44a6180f 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/knsh/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/knsh/defconfig @@ -31,7 +31,6 @@ CONFIG_ARCH_PGPOOL_VBASE=0x28000000 CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_TEXT_NPAGES=256 CONFIG_ARCH_TEXT_VBASE=0x80000000 -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMSDRAM=y diff --git a/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig b/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig index c32068cf91..ca58ecbc8c 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig @@ -24,7 +24,6 @@ CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_AUDIO_NUM_BUFFERS=8 CONFIG_AUDIO_WM8904=y CONFIG_BOARD_LOOPSPERMSEC=65775 diff --git a/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig b/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig index 0496f1b730..7a0c27d7a7 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig @@ -27,7 +27,6 @@ CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_AUDIO=y CONFIG_AUDIO_NULL=y CONFIG_AUDIO_NUM_BUFFERS=4 diff --git a/boards/arm/sama5/sama5d4-ek/configs/ramtest/defconfig b/boards/arm/sama5/sama5d4-ek/configs/ramtest/defconfig index 492aee2b83..8e90fd4d7e 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/ramtest/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/ramtest/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_SAMA5=y CONFIG_ARCH_CHIP_SAMA5D4=y CONFIG_ARCH_LOWVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7A_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=65775 CONFIG_BOOT_RUNFROMISRAM=y CONFIG_BUILTIN=y diff --git a/boards/arm/samd2l2/arduino-m0/README.txt b/boards/arm/samd2l2/arduino-m0/README.txt index 024ae34c3d..334e536ce7 100644 --- a/boards/arm/samd2l2/arduino-m0/README.txt +++ b/boards/arm/samd2l2/arduino-m0/README.txt @@ -130,7 +130,7 @@ Configuration sub-directories NOTES: 1. This configuration is set up to build on Windows using the Cygwin - environment using the CodeSourcery toolchain. This can be easily + environment using the ARM EABI toolchain. This can be easily changed as described above under "Configurations." 2. By default, this configuration provides a serial console on SERCOM5 diff --git a/boards/arm/samd2l2/samd20-xplained/README.txt b/boards/arm/samd2l2/samd20-xplained/README.txt index 683ec4a1be..f694787cdf 100644 --- a/boards/arm/samd2l2/samd20-xplained/README.txt +++ b/boards/arm/samd2l2/samd20-xplained/README.txt @@ -283,13 +283,9 @@ GNU Toolchain Options toolchain. To use alternative toolchain, you simply need to add change of the following configuration options to your .config (or defconfig) file: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : Atollic toolchain for Windows - CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) - CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux - CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows + CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) + CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux + CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows NOTE about Windows native toolchains ------------------------------------ @@ -665,11 +661,11 @@ Configurations CONFIG_HOST_WINDOWS=y : Windows Host CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on windows - 4. These configurations use the CodeSourcery toolchain. But + 4. These configurations use the GNU EABI toolchain. But that is easily reconfigured: System Type -> Toolchain: - CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIW=y Any re-configuration should be done before making NuttX or else the subsequent 'make' will fail. If you have already attempted building @@ -695,7 +691,7 @@ Configuration sub-directories NOTES: 1. This configuration is set up to build on Windows using the Cygwin - environment using the CodeSourcery toolchain. This can be easily + environment using the ARM EABI toolchain. This can be easily changed as described above under "Configurations." 2. By default, this configuration provides a serial console on SERCOM4 diff --git a/boards/arm/samd2l2/samd20-xplained/configs/nsh/defconfig b/boards/arm/samd2l2/samd20-xplained/configs/nsh/defconfig index 6033a7cb03..316d37c1ea 100644 --- a/boards/arm/samd2l2/samd20-xplained/configs/nsh/defconfig +++ b/boards/arm/samd2l2/samd20-xplained/configs/nsh/defconfig @@ -32,7 +32,6 @@ CONFIG_ARCH_CHIP="samd2l2" CONFIG_ARCH_CHIP_SAMD20J18=y CONFIG_ARCH_CHIP_SAMD2X=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=3410 CONFIG_BUILTIN=y CONFIG_DEFAULT_SMALL=y diff --git a/boards/arm/samd2l2/samd21-xplained/README.txt b/boards/arm/samd2l2/samd21-xplained/README.txt index 1b8b27256b..2e15500077 100644 --- a/boards/arm/samd2l2/samd21-xplained/README.txt +++ b/boards/arm/samd2l2/samd21-xplained/README.txt @@ -532,11 +532,11 @@ Configurations CONFIG_HOST_WINDOWS=y : Windows Host CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on windows - 4. These configurations use the CodeSourcery toolchain. But + 4. These configurations use the ARM EABI toolchain. But that is easily reconfigured: System Type -> Toolchain: - CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIW=y Any re-configuration should be done before making NuttX or else the subsequent 'make' will fail. If you have already attempted building @@ -562,7 +562,7 @@ Configuration sub-directories NOTES: 1. This configuration is set up to build on Windows using the Cygwin - environment using the CodeSourcery toolchain. This can be easily + environment using the ARM EABI toolchain. This can be easily changed as described above under "Configurations." 2. By default, this configuration provides a serial console on SERCOM4 diff --git a/boards/arm/samd2l2/samd21-xplained/configs/nsh/defconfig b/boards/arm/samd2l2/samd21-xplained/configs/nsh/defconfig index 53a02440a0..6072f617fd 100644 --- a/boards/arm/samd2l2/samd21-xplained/configs/nsh/defconfig +++ b/boards/arm/samd2l2/samd21-xplained/configs/nsh/defconfig @@ -32,7 +32,6 @@ CONFIG_ARCH_CHIP="samd2l2" CONFIG_ARCH_CHIP_SAMD21J18A=y CONFIG_ARCH_CHIP_SAMD2X=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=3410 CONFIG_BUILTIN=y CONFIG_DEFAULT_SMALL=y diff --git a/boards/arm/samd2l2/saml21-xplained/README.txt b/boards/arm/samd2l2/saml21-xplained/README.txt index 016bb8ad9c..f14f577abe 100644 --- a/boards/arm/samd2l2/saml21-xplained/README.txt +++ b/boards/arm/samd2l2/saml21-xplained/README.txt @@ -264,13 +264,9 @@ GNU Toolchain Options toolchain. To use alternative toolchain, you simply need to add change of the following configuration options to your .config (or defconfig) file: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : Atollic toolchain for Windows - CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=y : devkitARM under Windows - CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) - CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux - CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows + CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default) + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : Generic GCC ARM EABI toolchain for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : Generic GCC ARM EABI toolchain for Windows NOTE about Windows native toolchains ------------------------------------ @@ -694,11 +690,11 @@ Configurations CONFIG_HOST_WINDOWS=y : Windows Host CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on windows - 4. These configurations use the CodeSourcery toolchain. But + 4. These configurations use the ARM EABI toolchain. But that is easily reconfigured: System Type -> Toolchain: - CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIW=y Any re-configuration should be done before making NuttX or else the subsequent 'make' will fail. If you have already attempted building @@ -724,7 +720,7 @@ Configuration sub-directories NOTES: 1. This configuration is set up to build on Windows using the Cygwin - environment using the CodeSourcery toolchain. This can be easily + environment using the ARM EABI toolchain. This can be easily changed as described above under "Configurations." 2. By default, this configuration provides a serial console on SERCOM4 diff --git a/boards/arm/samd2l2/saml21-xplained/configs/nsh/defconfig b/boards/arm/samd2l2/saml21-xplained/configs/nsh/defconfig index 0a4b88eea0..a144c3d848 100644 --- a/boards/arm/samd2l2/saml21-xplained/configs/nsh/defconfig +++ b/boards/arm/samd2l2/saml21-xplained/configs/nsh/defconfig @@ -32,7 +32,6 @@ CONFIG_ARCH_CHIP="samd2l2" CONFIG_ARCH_CHIP_SAML21J18=y CONFIG_ARCH_CHIP_SAML2X=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=4356 CONFIG_BUILTIN=y CONFIG_DEFAULT_SMALL=y diff --git a/boards/arm/stm32/cloudctrl/README.txt b/boards/arm/stm32/cloudctrl/README.txt index a35cf74c84..848b045b5e 100644 --- a/boards/arm/stm32/cloudctrl/README.txt +++ b/boards/arm/stm32/cloudctrl/README.txt @@ -474,7 +474,7 @@ Where is one of the following: Configures the NuttShell (nsh) located at apps/examples/nsh. The Configuration enables both the serial and telnet NSH interfaces. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_NSH_DHCPC=n : DHCP is disabled CONFIG_NSH_IPADDR=0x0a000002 : Target IP address 10.0.0.2 CONFIG_NSH_DRIPADDR=0x0a000001 : Host IP address 10.0.0.1 diff --git a/boards/arm/stm32/cloudctrl/configs/nsh/defconfig b/boards/arm/stm32/cloudctrl/configs/nsh/defconfig index 48fabb2754..086069eb23 100644 --- a/boards/arm/stm32/cloudctrl/configs/nsh/defconfig +++ b/boards/arm/stm32/cloudctrl/configs/nsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F107VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_DM9161=y diff --git a/boards/arm/stm32/fire-stm32v2/configs/nsh/defconfig b/boards/arm/stm32/fire-stm32v2/configs/nsh/defconfig index 33844465c8..c7b7fb1509 100644 --- a/boards/arm/stm32/fire-stm32v2/configs/nsh/defconfig +++ b/boards/arm/stm32/fire-stm32v2/configs/nsh/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103VE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_ENC28J60=y diff --git a/boards/arm/stm32/hymini-stm32v/README.txt b/boards/arm/stm32/hymini-stm32v/README.txt index 4b1262e08d..792f8e5839 100644 --- a/boards/arm/stm32/hymini-stm32v/README.txt +++ b/boards/arm/stm32/hymini-stm32v/README.txt @@ -483,7 +483,7 @@ Where is one of the following: more information. CONFIG_HOST_LINUX=y : Linux host - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery toolchain under Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux USB debug output can be enabled as by changing the following settings in the configuration file: diff --git a/boards/arm/stm32/hymini-stm32v/configs/usbmsc/defconfig b/boards/arm/stm32/hymini-stm32v/configs/usbmsc/defconfig index df7c982d51..a6ba883f49 100644 --- a/boards/arm/stm32/hymini-stm32v/configs/usbmsc/defconfig +++ b/boards/arm/stm32/hymini-stm32v/configs/usbmsc/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_LIB_BOARDCTL=y CONFIG_MAX_TASKS=16 diff --git a/boards/arm/stm32/hymini-stm32v/configs/usbserial/defconfig b/boards/arm/stm32/hymini-stm32v/configs/usbserial/defconfig index 56b054183a..514a0a6dac 100644 --- a/boards/arm/stm32/hymini-stm32v/configs/usbserial/defconfig +++ b/boards/arm/stm32/hymini-stm32v/configs/usbserial/defconfig @@ -12,7 +12,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_DISABLE_MOUNTPOINT=y CONFIG_EXAMPLES_USBSERIAL=y diff --git a/boards/arm/stm32/maple/README.txt b/boards/arm/stm32/maple/README.txt index 56ae64444e..13809abf61 100644 --- a/boards/arm/stm32/maple/README.txt +++ b/boards/arm/stm32/maple/README.txt @@ -28,11 +28,9 @@ Contents Development Environment ======================= - Either Linux (recommended), Mac or Cygwin on Windows can be used for the development environment. - The source has been built only using the GNU toolchain (see below). Other - toolchains will likely cause problems. Testing was performed using the Cygwin - environment because the Raisonance R-Link emulatator and some RIDE7 development tools - were used and those tools works only under Windows. + Either Linux (recommended), Mac or Cygwin on Windows can be used for the development + environment. The source has been built only using the GNU toolchain (see below). + Other toolchains will likely cause problems. DFU === diff --git a/boards/arm/stm32/mikroe-stm32f4/README.txt b/boards/arm/stm32/mikroe-stm32f4/README.txt index f0de1ab34f..7558dfac2f 100644 --- a/boards/arm/stm32/mikroe-stm32f4/README.txt +++ b/boards/arm/stm32/mikroe-stm32f4/README.txt @@ -181,31 +181,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -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) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - Mikroe-STM32F4-specific Configuration Options =============================================== @@ -518,7 +493,7 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows This is easily changed by modifying the configuration. @@ -647,13 +622,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This configuration does have UART2 output enabled and set up as the system logging device: diff --git a/boards/arm/stm32/nucleo-f446re/README.txt b/boards/arm/stm32/nucleo-f446re/README.txt index 2e046e0e36..d945428f41 100644 --- a/boards/arm/stm32/nucleo-f446re/README.txt +++ b/boards/arm/stm32/nucleo-f446re/README.txt @@ -99,86 +99,14 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The Atollic Toolchain, - 3. The devkitARM GNU toolchain, - 4. Raisonance GNU toolchain, or - 5. The NuttX buildroot Toolchain (see below). + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the CodeSourcery toolchain for Linux. - To use the Atollic, devkitARM, Raisonance GNU, or NuttX buildroot toolchain, - you simply need to add one of the following configuration options to your - .config (or defconfig) file: + All testing has been conducted using the NuttX Codesourcery toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n : CodeSourcery under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : The Atollic toolchain under Windows - CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=n : devkitARM under Windows - CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE=y : Raisonance RIDE7 under Windows - CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=n : NuttX buildroot under Linux or Cygwin (default) - - If you change the default toolchain, then you may also have to modify the - PATH environment variable to include the path to the toolchain binaries. - - NOTE: There are several limitations to using a Windows based toolchain in a - Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - V=1 make clean_context all 2>&1 |tee mout - - An alias in your .bashrc file might make that less painful. - - The Atollic "Pro" and "Lite" Toolchain - -------------------------------------- - One problem that I had with the Atollic toolchains is that the provide a gcc.exe - and g++.exe in the same bin/ file as their ARM binaries. If the Atollic bin/ path - appears in your PATH variable before /usr/bin, then you will get the wrong gcc - when you try to build host executables. This will cause to strange, uninterpretable - errors build some host binaries in tools/ when you first make. - - Also, the Atollic toolchains are the only toolchains that have built-in support for - the FPU in these configurations. If you plan to use the Cortex-M4 FPU, you will - need to use the Atollic toolchain for now. See the FPU section below for more - information. - - The Atollic "Lite" Toolchain - ---------------------------- - The free, "Lite" version of the Atollic toolchain does not support C++ nor - does it support ar, nm, objdump, or objdcopy. If you use the Atollic "Lite" - toolchain, you will have to set: - - CONFIG_HAVE_CXX=n - - In order to compile successfully. Otherwise, you will get errors like: - - "C++ Compiler only available in TrueSTUDIO Professional" - - The make may then fail in some of the post link processing because of some of - the other missing tools. The Make.defs file replaces the ar and nm with - the default system x86 tool versions and these seem to work okay. Disable all - of the following to avoid using objcopy: - - CONFIG_INTELHEX_BINARY=n - CONFIG_MOTOROLA_SREC=n - CONFIG_RAW_BINARY=n - - devkitARM - --------- - The devkitARM toolchain includes a version of MSYS make. Make sure that the - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. + CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain IDEs ==== @@ -603,11 +531,11 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Linux. That can easily be reconfigured, of course. CONFIG_HOST_LINUX=y : Builds under Linux - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux 3. Although the default console is USART2 (which would correspond to the Virtual COM port) I have done all testing with the console diff --git a/boards/arm/stm32/nucleo-f446re/configs/nsh/defconfig b/boards/arm/stm32/nucleo-f446re/configs/nsh/defconfig index 9c8d6161c1..7c45362628 100644 --- a/boards/arm/stm32/nucleo-f446re/configs/nsh/defconfig +++ b/boards/arm/stm32/nucleo-f446re/configs/nsh/defconfig @@ -21,7 +21,6 @@ CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F446R=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y CONFIG_HAVE_CXX=y diff --git a/boards/arm/stm32/nucleo-f4x1re/README.txt b/boards/arm/stm32/nucleo-f4x1re/README.txt index cc4ecdae3e..47fa7b26bd 100644 --- a/boards/arm/stm32/nucleo-f4x1re/README.txt +++ b/boards/arm/stm32/nucleo-f4x1re/README.txt @@ -122,86 +122,14 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The Atollic Toolchain, - 3. The devkitARM GNU toolchain, - 4. Raisonance GNU toolchain, or - 5. The NuttX buildroot Toolchain (see below). + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the CodeSourcery toolchain for Linux. - To use the Atollic, devkitARM, Raisonance GNU, or NuttX buildroot toolchain, - you simply need to add one of the following configuration options to your - .config (or defconfig) file: + All testing has been conducted using the NuttX Codesourcery toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n : CodeSourcery under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : The Atollic toolchain under Windows - CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=n : devkitARM under Windows - CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE=y : Raisonance RIDE7 under Windows - CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=n : NuttX buildroot under Linux or Cygwin (default) - - If you change the default toolchain, then you may also have to modify the - PATH environment variable to include the path to the toolchain binaries. - - NOTE: There are several limitations to using a Windows based toolchain in a - Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - V=1 make clean_context all 2>&1 |tee mout - - An alias in your .bashrc file might make that less painful. - - The Atollic "Pro" and "Lite" Toolchain - -------------------------------------- - One problem that I had with the Atollic toolchains is that the provide a gcc.exe - and g++.exe in the same bin/ file as their ARM binaries. If the Atollic bin/ path - appears in your PATH variable before /usr/bin, then you will get the wrong gcc - when you try to build host executables. This will cause to strange, uninterpretable - errors build some host binaries in tools/ when you first make. - - Also, the Atollic toolchains are the only toolchains that have built-in support for - the FPU in these configurations. If you plan to use the Cortex-M4 FPU, you will - need to use the Atollic toolchain for now. See the FPU section below for more - information. - - The Atollic "Lite" Toolchain - ---------------------------- - The free, "Lite" version of the Atollic toolchain does not support C++ nor - does it support ar, nm, objdump, or objdcopy. If you use the Atollic "Lite" - toolchain, you will have to set: - - CONFIG_HAVE_CXX=n - - In order to compile successfully. Otherwise, you will get errors like: - - "C++ Compiler only available in TrueSTUDIO Professional" - - The make may then fail in some of the post link processing because of some of - the other missing tools. The Make.defs file replaces the ar and nm with - the default system x86 tool versions and these seem to work okay. Disable all - of the following to avoid using objcopy: - - CONFIG_INTELHEX_BINARY=n - CONFIG_MOTOROLA_SREC=n - CONFIG_RAW_BINARY=n - - devkitARM - --------- - The devkitARM toolchain includes a version of MSYS make. Make sure that the - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. + CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain IDEs ==== @@ -628,11 +556,11 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Linux. That can easily be reconfigured, of course. CONFIG_HOST_LINUX=y : Builds under Linux - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux 3. Although the default console is USART2 (which would correspond to the Virtual COM port) I have done all testing with the console diff --git a/boards/arm/stm32/nucleo-f4x1re/configs/f401-nsh/defconfig b/boards/arm/stm32/nucleo-f4x1re/configs/f401-nsh/defconfig index b58bf02668..f83526e21c 100644 --- a/boards/arm/stm32/nucleo-f4x1re/configs/f401-nsh/defconfig +++ b/boards/arm/stm32/nucleo-f4x1re/configs/f401-nsh/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F401RE=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y CONFIG_HAVE_CXX=y diff --git a/boards/arm/stm32/nucleo-f4x1re/configs/f411-nsh/defconfig b/boards/arm/stm32/nucleo-f4x1re/configs/f411-nsh/defconfig index 17f766f34f..3f1694edf1 100644 --- a/boards/arm/stm32/nucleo-f4x1re/configs/f411-nsh/defconfig +++ b/boards/arm/stm32/nucleo-f4x1re/configs/f411-nsh/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F411RE=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y CONFIG_HAVE_CXX=y diff --git a/boards/arm/stm32/olimex-stm32-p107/configs/nsh/defconfig b/boards/arm/stm32/olimex-stm32-p107/configs/nsh/defconfig index 1e715c8644..b9479cb27d 100644 --- a/boards/arm/stm32/olimex-stm32-p107/configs/nsh/defconfig +++ b/boards/arm/stm32/olimex-stm32-p107/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F107VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_CAN=y diff --git a/boards/arm/stm32/olimexino-stm32/configs/can/defconfig b/boards/arm/stm32/olimexino-stm32/configs/can/defconfig index ce8d48894a..271ad9d65c 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/can/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/can/defconfig @@ -29,7 +29,6 @@ CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_INTERRUPTSTACK=340 CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/olimexino-stm32/configs/composite/defconfig b/boards/arm/stm32/olimexino-stm32/configs/composite/defconfig index d2fd684c64..e8125814e2 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/composite/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/composite/defconfig @@ -40,7 +40,6 @@ CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_INTERRUPTSTACK=340 CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/olimexino-stm32/configs/nsh/defconfig b/boards/arm/stm32/olimexino-stm32/configs/nsh/defconfig index f736cbeb32..e98a91157c 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/nsh/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/nsh/defconfig @@ -40,7 +40,6 @@ CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_INTERRUPTSTACK=340 CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig b/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig index 9d14e13400..cc9d797f53 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_STM32F103RB=y CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_INTERRUPTSTACK=340 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig b/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig index d8cecb0e15..59e1f0d851 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_STM32F103RB=y CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_INTERRUPTSTACK=340 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/shenzhou/README.txt b/boards/arm/stm32/shenzhou/README.txt index 3eb6c65d13..f64982d0c4 100644 --- a/boards/arm/stm32/shenzhou/README.txt +++ b/boards/arm/stm32/shenzhou/README.txt @@ -491,7 +491,7 @@ Where is one of the following: Configures the NuttShell (nsh) located at apps/examples/nsh. The Configuration enables both the serial and telnet NSH interfaces. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_NSH_DHCPC=n : DHCP is disabled CONFIG_NSH_IPADDR=0x0a000002 : Target IP address 10.0.0.2 CONFIG_NSH_DRIPADDR=0x0a000001 : Host IP address 10.0.0.1 diff --git a/boards/arm/stm32/shenzhou/configs/nxwm/defconfig b/boards/arm/stm32/shenzhou/configs/nxwm/defconfig index 9d4d72fffe..10f4870e64 100644 --- a/boards/arm/stm32/shenzhou/configs/nxwm/defconfig +++ b/boards/arm/stm32/shenzhou/configs/nxwm/defconfig @@ -23,7 +23,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F107VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_ETH0_PHY_DM9161=y CONFIG_HAVE_CXX=y diff --git a/boards/arm/stm32/stm3210e-eval/README.txt b/boards/arm/stm32/stm3210e-eval/README.txt index 9cd5300a73..5db561f725 100644 --- a/boards/arm/stm32/stm3210e-eval/README.txt +++ b/boards/arm/stm32/stm3210e-eval/README.txt @@ -521,7 +521,7 @@ Where is one of the following: =========== ======================= ================================ Platform Windows with Cygwin (2) Windows with Cygwin (2) ----------- ----------------------- -------------------------------- - Toolchain: NuttX buildroot (1) Codesourcery for Windows (1) + Toolchain: NuttX buildroot (1) ARM EABI GCC for Windows (1) ----------- ----------------------- -------------------------------- Loader: DfuSe DfuSe ----------- ----------------------- -------------------------------- @@ -606,8 +606,8 @@ Where is one of the following: focuses on general window controls, movement, mouse and keyboard input. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_LCD_RPORTRAIT=y : 240x320 reverse portrait + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows + CONFIG_LCD_RPORTRAIT=y : 240x320 reverse portrait NOTES: @@ -795,12 +795,12 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. Default configuration is Cygwin under windows using the CodeSourcery + 2. Default configuration is Cygwin under windows using the ARM EABI toolchain: CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. CONFIG_ARCH_CUSTOM_PMINIT and CONFIG_ARCH_IDLE_CUSTOM are necessary parts of the PM configuration: diff --git a/boards/arm/stm32/stm3210e-eval/configs/composite/defconfig b/boards/arm/stm32/stm3210e-eval/configs/composite/defconfig index 4d28e2e2be..7c12fa2ee8 100644 --- a/boards/arm/stm32/stm3210e-eval/configs/composite/defconfig +++ b/boards/arm/stm32/stm3210e-eval/configs/composite/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103ZE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_CDCACM=y CONFIG_CDCACM_COMPOSITE=y diff --git a/boards/arm/stm32/stm3210e-eval/configs/nsh2/defconfig b/boards/arm/stm32/stm3210e-eval/configs/nsh2/defconfig index 6536febc23..cfe88a979a 100644 --- a/boards/arm/stm32/stm3210e-eval/configs/nsh2/defconfig +++ b/boards/arm/stm32/stm3210e-eval/configs/nsh2/defconfig @@ -25,7 +25,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103ZE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_EXAMPLES_NX=y diff --git a/boards/arm/stm32/stm3210e-eval/configs/nx/defconfig b/boards/arm/stm32/stm3210e-eval/configs/nx/defconfig index 0647a38d61..80073824bd 100644 --- a/boards/arm/stm32/stm3210e-eval/configs/nx/defconfig +++ b/boards/arm/stm32/stm3210e-eval/configs/nx/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103ZE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm3210e-eval/configs/nxterm/defconfig b/boards/arm/stm32/stm3210e-eval/configs/nxterm/defconfig index 749bb49774..554fcbc43c 100644 --- a/boards/arm/stm32/stm3210e-eval/configs/nxterm/defconfig +++ b/boards/arm/stm32/stm3210e-eval/configs/nxterm/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F103ZE=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_EXAMPLES_NXTERM=y diff --git a/boards/arm/stm32/stm3210e-eval/configs/pm/defconfig b/boards/arm/stm32/stm3210e-eval/configs/pm/defconfig index da533a422e..fdcc5ed794 100644 --- a/boards/arm/stm32/stm3210e-eval/configs/pm/defconfig +++ b/boards/arm/stm32/stm3210e-eval/configs/pm/defconfig @@ -27,7 +27,6 @@ CONFIG_ARCH_CUSTOM_PMINIT=y CONFIG_ARCH_IDLE_CUSTOM=y CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_EXAMPLES_NX=y diff --git a/boards/arm/stm32/stm3220g-eval/README.txt b/boards/arm/stm32/stm3220g-eval/README.txt index 2b47337bff..0690169085 100644 --- a/boards/arm/stm32/stm3220g-eval/README.txt +++ b/boards/arm/stm32/stm3220g-eval/README.txt @@ -534,7 +534,7 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y nettest: ------- @@ -564,7 +564,7 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Under Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows Than can, of course, be easily changes by reconfiguring per Note 1. @@ -573,7 +573,7 @@ Where is one of the following: Configures the NuttShell (nsh) located at apps/examples/nsh. The Configuration enables both the serial and telnet NSH interfaces. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_NSH_DHCPC=n : DHCP is disabled CONFIG_NSH_IPADDR=(192<<24|168<<16|13<<8|161) : Target IP address 192.168.8.161 CONFIG_NSH_DRIPADDR=(192<<24|168<<16|13<<8|1) : Host IP address 192.168.8.1 @@ -815,7 +815,7 @@ Where is one of the following: reconfiguration process. 2. This configuration is currently set up to build under Cygwin on - a Windows machine using the CodeSourcery Windows toolchain. + a Windows machine using the ARM EABI GCC Windows toolchain. That configuration can be easy changed as described in Note 1. telnetd: @@ -843,4 +843,4 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y diff --git a/boards/arm/stm32/stm3220g-eval/configs/dhcpd/defconfig b/boards/arm/stm32/stm3220g-eval/configs/dhcpd/defconfig index 53a19af846..8f8ab9c229 100644 --- a/boards/arm/stm32/stm3220g-eval/configs/dhcpd/defconfig +++ b/boards/arm/stm32/stm3220g-eval/configs/dhcpd/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F207IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=10926 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/stm32/stm3220g-eval/configs/nettest/defconfig b/boards/arm/stm32/stm3220g-eval/configs/nettest/defconfig index 1901afec42..665ee4f783 100644 --- a/boards/arm/stm32/stm3220g-eval/configs/nettest/defconfig +++ b/boards/arm/stm32/stm3220g-eval/configs/nettest/defconfig @@ -12,7 +12,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F207IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=10926 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm3220g-eval/configs/nsh2/defconfig b/boards/arm/stm32/stm3220g-eval/configs/nsh2/defconfig index efcc1358d2..f555109ae9 100644 --- a/boards/arm/stm32/stm3220g-eval/configs/nsh2/defconfig +++ b/boards/arm/stm32/stm3220g-eval/configs/nsh2/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F207IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=10926 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_DP83848C=y diff --git a/boards/arm/stm32/stm3220g-eval/configs/nxwm/defconfig b/boards/arm/stm32/stm3220g-eval/configs/nxwm/defconfig index f1ad7c532c..235d65df3b 100644 --- a/boards/arm/stm32/stm3220g-eval/configs/nxwm/defconfig +++ b/boards/arm/stm32/stm3220g-eval/configs/nxwm/defconfig @@ -21,7 +21,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F207IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=10926 CONFIG_ETH0_PHY_DP83848C=y CONFIG_FAT_LCNAMES=y diff --git a/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig b/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig index 9762a593f4..48d384d625 100644 --- a/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig +++ b/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig @@ -12,7 +12,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F207IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=10926 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm3240g-eval/README.txt b/boards/arm/stm32/stm3240g-eval/README.txt index 2e4cea4e58..5a3466a59b 100644 --- a/boards/arm/stm32/stm3240g-eval/README.txt +++ b/boards/arm/stm32/stm3240g-eval/README.txt @@ -190,31 +190,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/arm/stm32/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -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) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - FSMC SRAM ========= @@ -668,7 +643,7 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y discover: -------- @@ -683,7 +658,7 @@ Where is one of the following: Configuration settings that you may need to change for your environment: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y - CodeSourcery for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y - GNU EABI toolchain for Linux CONFIG_EXAMPLES_DISCOVER_DHCPC=y - DHCP Client CONFIG_EXAMPLES_DISCOVER_IPADDR - (not defined) CONFIG_EXAMPLES_DISCOVER_DRIPADDR - Router IP address @@ -757,15 +732,6 @@ Where is one of the following: This is easily changed by modifying the configuration. - NOTE: When I used a recent CodeSourcery toolchain, then toolchain - generated an illegal blx to an even address when calling into one - of the EABI math libraries. I don't know why this happened or if - the probably is repeatable with other CodeSourcery versions. You - can try for yourself setting: - - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARCH_SIZET_LONG=n : size_t is unsigned int (maybe?) - 3. In addition to the protected mode build, this NxWM configuration differences from the nxwm configuration in that: @@ -856,7 +822,7 @@ Where is one of the following: using the STM32's Ethernet controller. It uses apps/examples/nettest to exercise the TCP/IP network. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_EXAMPLES_NETTEST_SERVER=n : Target is configured as the client CONFIG_EXAMPLES_NETTEST_PERFORMANCE=y : Only network performance is verified. CONFIG_EXAMPLES_NETTEST_IPADDR=(10<<24|0<<16|0<<8|2) : Target side is IP: 10.0.0.2 @@ -879,7 +845,7 @@ Where is one of the following: Configures the NuttShell (nsh) located at apps/examples/nsh. The Configuration enables both the serial and telnet NSH interfaces. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_NSH_DHCPC=n : DHCP is disabled CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2) : Target IP address 10.0.0.2 CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1) : Host IP address 10.0.0.1 @@ -1215,7 +1181,7 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : With Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows nxwm ---- @@ -1253,7 +1219,7 @@ Where is one of the following: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y xmlrpc ------ diff --git a/boards/arm/stm32/stm3240g-eval/configs/dhcpd/defconfig b/boards/arm/stm32/stm3240g-eval/configs/dhcpd/defconfig index eae123aacc..e921dfeb82 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/dhcpd/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/dhcpd/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/discover/defconfig b/boards/arm/stm32/stm3240g-eval/configs/discover/defconfig index fe44ba6f35..62c4ac5b24 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/discover/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/discover/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_DISCOVER_DESCR="STM3240G-EVAL" CONFIG_ETH0_PHY_DP83848C=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/nettest/defconfig b/boards/arm/stm32/stm3240g-eval/configs/nettest/defconfig index 4547e43bb0..020f79aeaa 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/nettest/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/nettest/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/nsh/defconfig b/boards/arm/stm32/stm3240g-eval/configs/nsh/defconfig index d9b9e86865..a8ed0416ea 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/nsh/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/nsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_DP83848C=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/nsh2/defconfig b/boards/arm/stm32/stm3240g-eval/configs/nsh2/defconfig index da35c04897..d967dd0c88 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/nsh2/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/nsh2/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_DP83848C=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/nxterm/defconfig b/boards/arm/stm32/stm3240g-eval/configs/nxterm/defconfig index 048d528bc0..e5d2aa2396 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/nxterm/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/nxterm/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_DP83848C=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/nxwm/defconfig b/boards/arm/stm32/stm3240g-eval/configs/nxwm/defconfig index ce72435984..18c2228785 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/nxwm/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/nxwm/defconfig @@ -21,7 +21,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig b/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig index e2c6732dcb..750abe9cff 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/xmlrpc/defconfig b/boards/arm/stm32/stm3240g-eval/configs/xmlrpc/defconfig index 3b4a126dee..e0490039cc 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/xmlrpc/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/xmlrpc/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407IG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_ETH0_PHY_DP83848C=y CONFIG_EXAMPLES_XMLRPC=y diff --git a/boards/arm/stm32/stm32_tiny/README.txt b/boards/arm/stm32/stm32_tiny/README.txt index 4fe131452f..1ecd11dece 100644 --- a/boards/arm/stm32/stm32_tiny/README.txt +++ b/boards/arm/stm32/stm32_tiny/README.txt @@ -291,13 +291,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This example supports the PWM test (apps/examples/pwm) but this must be manually enabled by selecting: @@ -397,13 +397,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This configuration does have UART2 output enabled and set up as the system logging device: diff --git a/boards/arm/stm32/stm32f103-minimum/README.txt b/boards/arm/stm32/stm32f103-minimum/README.txt index 2d8a0a1050..0c0a0315e9 100644 --- a/boards/arm/stm32/stm32f103-minimum/README.txt +++ b/boards/arm/stm32/stm32f103-minimum/README.txt @@ -752,13 +752,13 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This configuration does have UART2 output enabled and set up as the system logging device: diff --git a/boards/arm/stm32/stm32f3discovery/README.txt b/boards/arm/stm32/stm32f3discovery/README.txt index b22e670e3a..9dc25eba9e 100644 --- a/boards/arm/stm32/stm32f3discovery/README.txt +++ b/boards/arm/stm32/stm32f3discovery/README.txt @@ -124,31 +124,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/arm/stm32/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -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) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - Debugging ========= @@ -199,10 +174,6 @@ The signals used with external (SWD) debugging are: SWO (PB3) RESET (NRST) -Atollic GDB Server ------------------- -You can use the Atollic IDE, but I have never done that either. - STM32F3Discovery-specific Configuration Options =============================================== @@ -429,13 +400,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This configuration includes USB Support (CDC/ACM device) @@ -508,7 +479,7 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. @@ -517,7 +488,7 @@ Where is one of the following: CONFIG_WINDOWS_CYGWIN=y : Using Cygwin System Type: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This configuration does have USART2 output enabled and set up as the system logging device: diff --git a/boards/arm/stm32/stm32f3discovery/configs/nsh/defconfig b/boards/arm/stm32/stm32f3discovery/configs/nsh/defconfig index 821decb76a..47db9c2795 100644 --- a/boards/arm/stm32/stm32f3discovery/configs/nsh/defconfig +++ b/boards/arm/stm32/stm32f3discovery/configs/nsh/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F303VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=6522 CONFIG_BUILTIN=y CONFIG_CDCACM=y diff --git a/boards/arm/stm32/stm32f3discovery/configs/usbnsh/defconfig b/boards/arm/stm32/stm32f3discovery/configs/usbnsh/defconfig index d2eb7c96ab..454d05baed 100644 --- a/boards/arm/stm32/stm32f3discovery/configs/usbnsh/defconfig +++ b/boards/arm/stm32/stm32f3discovery/configs/usbnsh/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F303VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARDCTL_USBDEVCTRL=y CONFIG_BOARD_LOOPSPERMSEC=6522 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/stm32f429i-disco/README.txt b/boards/arm/stm32/stm32f429i-disco/README.txt index 4b3124539d..8e6c8df190 100644 --- a/boards/arm/stm32/stm32f429i-disco/README.txt +++ b/boards/arm/stm32/stm32f429i-disco/README.txt @@ -295,31 +295,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/arm/stm32/stm32f429i-disco/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -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) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - FMC SDRAM ========= @@ -733,13 +708,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 3. This example supports the PWM test (apps/examples/pwm) but this must be manually enabled by selecting: diff --git a/boards/arm/stm32/stm32f429i-disco/configs/fb/defconfig b/boards/arm/stm32/stm32f429i-disco/configs/fb/defconfig index 472c9fc75a..f676ae1838 100644 --- a/boards/arm/stm32/stm32f429i-disco/configs/fb/defconfig +++ b/boards/arm/stm32/stm32f429i-disco/configs/fb/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F429Z=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_DEBUG_SYMBOLS=y diff --git a/boards/arm/stm32/stm32f429i-disco/configs/lcd/defconfig b/boards/arm/stm32/stm32f429i-disco/configs/lcd/defconfig index 5b5280d0a8..1449384386 100644 --- a/boards/arm/stm32/stm32f429i-disco/configs/lcd/defconfig +++ b/boards/arm/stm32/stm32f429i-disco/configs/lcd/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F429Z=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig b/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig index 8b72995e0b..a49fcd6c89 100644 --- a/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig +++ b/boards/arm/stm32/stm32f429i-disco/configs/lvgl/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F429Z=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_DEBUG_CUSTOMOPT=y diff --git a/boards/arm/stm32/stm32f4discovery/README.txt b/boards/arm/stm32/stm32f4discovery/README.txt index a35541a3a6..312de18b1e 100644 --- a/boards/arm/stm32/stm32f4discovery/README.txt +++ b/boards/arm/stm32/stm32f4discovery/README.txt @@ -348,31 +348,6 @@ the following lines in each Make.defs file: ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif -Configuration Changes ---------------------- - -Below are all of the configuration changes that I had to make to boards/arm/stm32/stm3240g-eval/nsh2 -in order to successfully build NuttX using the Atollic toolchain WITH FPU support: - - -CONFIG_ARCH_FPU=n : Enable FPU support - +CONFIG_ARCH_FPU=y - - -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : Disable the CodeSourcery toolchain - +CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n - - -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) - - -CONFIG_HAVE_CXX=y : Suppress generation of C++ code - +CONFIG_HAVE_CXX=n : (Only necessary with the "Lite" version) - -See the section above on Toolchains, NOTE 2, for explanations for some of -the configuration settings. Some of the usual settings are just not supported -by the "Lite" version of the Atollic toolchain. - STM32F4DIS-BB ============= @@ -1396,7 +1371,7 @@ Configuration Sub-directories CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 2. By default, this project assumes that you are *NOT* using the DFU bootloader. @@ -1649,7 +1624,7 @@ Configuration Sub-directories CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows This is easily changed by modifying the configuration. @@ -1803,13 +1778,13 @@ Configuration Sub-directories NOTES: - 1. By default, this configuration uses the CodeSourcery toolchain + 1. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 2. To use this configuration with the STM32F4DIS-BB baseboard you should: @@ -2111,7 +2086,7 @@ Configuration Sub-directories An example using the NuttX graphics system (NX). This example focuses on placing lines on the background in various orientations. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_LCD_LANDSCAPE=y : 320x240 landscape orientation The STM32F4Discovery board does not have any graphics capability. This @@ -2182,12 +2157,12 @@ Configuration Sub-directories NOTES: - 1. Default configuration is Cygwin under windows using the CodeSourcery + 1. Default configuration is Cygwin under windows using the AM EABI GCC toolchain: CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_CYGWIN=y : Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 2. CONFIG_ARCH_CUSTOM_PMINIT and CONFIG_ARCH_IDLE_CUSTOM are necessary parts of the PM configuration: @@ -2363,13 +2338,13 @@ Configuration Sub-directories NOTES: - 1. By default, this configuration uses the CodeSourcery toolchain + 1. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Builds under Windows CONFIG_WINDOWS_CYGWIN=y : Using Cygwin - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 2. This configuration does have USART2 output enabled and set up as the system logging device: @@ -2448,7 +2423,7 @@ Configuration Sub-directories CONFIG_HOST_WINDOWS=y : Windows CONFIG_WINDOWS_NATIVE=y : Native Windows environment - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows Build Tools. The build still relies on some Unix-like commands. I use the GNUWin32 tools that can be downloaded from http://gnuwin32.sourceforge.net/. diff --git a/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig b/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig index ecf17b4f1f..0f09b73d11 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_C99_BOOL8=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/ipv6/defconfig b/boards/arm/stm32/stm32f4discovery/configs/ipv6/defconfig index ab8acdf6ae..5d7c12ddd6 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/ipv6/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/ipv6/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_LAN8720=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/max31855/defconfig b/boards/arm/stm32/stm32f4discovery/configs/max31855/defconfig index 99787e55ac..3c880896cb 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/max31855/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/max31855/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/netnsh/defconfig b/boards/arm/stm32/stm32f4discovery/configs/netnsh/defconfig index c79bf5e923..bba3a9f439 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/netnsh/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/netnsh/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARDCTL_RESET=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig b/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig index 00de2ead57..98f334239f 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/nxlines/defconfig b/boards/arm/stm32/stm32f4discovery/configs/nxlines/defconfig index 58db454760..f232b18aeb 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/nxlines/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/nxlines/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_EXAMPLES_NXLINES=y CONFIG_EXAMPLES_NXLINES_BGCOLOR=0x0320 diff --git a/boards/arm/stm32/stm32f4discovery/configs/pm/defconfig b/boards/arm/stm32/stm32f4discovery/configs/pm/defconfig index ddac6af3fa..f09f58cd97 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/pm/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/pm/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CUSTOM_PMINIT=y CONFIG_ARCH_IDLE_CUSTOM=y CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_FS_PROCFS=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig b/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig index 7589e85dcb..51a6c13219 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig @@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARDCTL_RESET=y CONFIG_BOARDCTL_USBDEVCTRL=y CONFIG_BOARD_LOOPSPERMSEC=16717 diff --git a/boards/arm/stm32/stm32f4discovery/configs/usbnsh/defconfig b/boards/arm/stm32/stm32f4discovery/configs/usbnsh/defconfig index 653b0ac52f..0c43878c15 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/usbnsh/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/usbnsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARDCTL_USBDEVCTRL=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32/stm32f4discovery/configs/winbuild/defconfig b/boards/arm/stm32/stm32f4discovery/configs/winbuild/defconfig index 40e0201b26..fb702f543d 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/winbuild/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/winbuild/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/stm32/stm32ldiscovery/README.txt b/boards/arm/stm32/stm32ldiscovery/README.txt index 1bcd334e7d..0dd15ee5fd 100644 --- a/boards/arm/stm32/stm32ldiscovery/README.txt +++ b/boards/arm/stm32/stm32ldiscovery/README.txt @@ -287,10 +287,6 @@ Debugging -------------------------------- This is an open source server for the ST-Link that I have never used. - Atollic GDB Server - ------------------ - You can use the Atollic IDE, but I have never done that either. - STM32L-Discovery-specific Configuration Options =============================================== @@ -514,7 +510,7 @@ Configuration sub-directories 2. Support for NSH built-in applications is *not* enabled. - 3. By default, this configuration uses the CodeSourcery toolchain + 3. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. @@ -523,7 +519,7 @@ Configuration sub-directories CONFIG_WINDOWS_CYGWIN=y : Using Cygwin System Type: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 4. To enable SLCD support: diff --git a/boards/arm/stm32/stm32ldiscovery/configs/nsh/defconfig b/boards/arm/stm32/stm32ldiscovery/configs/nsh/defconfig index c5337e0916..37bd34b95e 100644 --- a/boards/arm/stm32/stm32ldiscovery/configs/nsh/defconfig +++ b/boards/arm/stm32/stm32ldiscovery/configs/nsh/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32L152RB=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BINFMT_DISABLE=y CONFIG_BOARD_LOOPSPERMSEC=2796 CONFIG_DEFAULT_SMALL=y diff --git a/boards/arm/stm32/stm32vldiscovery/README.txt b/boards/arm/stm32/stm32vldiscovery/README.txt index 80499e2561..b819f7b9b4 100644 --- a/boards/arm/stm32/stm32vldiscovery/README.txt +++ b/boards/arm/stm32/stm32vldiscovery/README.txt @@ -215,4 +215,4 @@ Where is one of the following: Default toolchain: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux / macOS + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux diff --git a/boards/arm/stm32/viewtool-stm32f107/README.txt b/boards/arm/stm32/viewtool-stm32f107/README.txt index 730ef6d074..5e2be065ba 100644 --- a/boards/arm/stm32/viewtool-stm32f107/README.txt +++ b/boards/arm/stm32/viewtool-stm32f107/README.txt @@ -849,13 +849,13 @@ Configurations CONFIG_HOST_WINDOWS=y : Windows operating system CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - 4. All of these configurations use the CodeSourcery for Windows toolchain + 4. All of these configurations use the ARM EABI GCC toolchain for Windows (unless stated otherwise in the description of the configuration). That toolchain selection can easily be reconfigured using 'make menuconfig'. Here are the relevant current settings: System Type -> Toolchain: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : GNU EABI toolchain for windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows See also the "NOTE about Windows native toolchains" in the section call "GNU Toolchain Options" above. @@ -940,8 +940,8 @@ Configurations selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 6. USB support is disabled by default. See the section above entitled, "USB Interface" @@ -972,8 +972,8 @@ Configurations selection can easily be changed by reconfiguring: CONFIG_HOST_WINDOWS=y : Windows operating system - CONFIG_WINDOWS_CYGWIN=y : POSIX environment under windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery for Windows + CONFIG_WINDOWS_CYGWIN=y : POSIX environment under Windows + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows 4. USB support is disabled by default. See the section above entitled, "USB Interface" diff --git a/boards/arm/stm32/viewtool-stm32f107/configs/highpri/defconfig b/boards/arm/stm32/viewtool-stm32f107/configs/highpri/defconfig index 867176695e..6b4c56eee9 100644 --- a/boards/arm/stm32/viewtool-stm32f107/configs/highpri/defconfig +++ b/boards/arm/stm32/viewtool-stm32f107/configs/highpri/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_STM32F103VC=y CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_RAMVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_HOST_WINDOWS=y CONFIG_INTELHEX_BINARY=y diff --git a/boards/arm/stm32/viewtool-stm32f107/configs/netnsh/defconfig b/boards/arm/stm32/viewtool-stm32f107/configs/netnsh/defconfig index b8d386562b..c09a6222f3 100644 --- a/boards/arm/stm32/viewtool-stm32f107/configs/netnsh/defconfig +++ b/boards/arm/stm32/viewtool-stm32f107/configs/netnsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F107VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_ETH0_PHY_DP83848C=y diff --git a/boards/arm/stm32/viewtool-stm32f107/configs/nsh/defconfig b/boards/arm/stm32/viewtool-stm32f107/configs/nsh/defconfig index 4d5def9ea9..9153aef816 100644 --- a/boards/arm/stm32/viewtool-stm32f107/configs/nsh/defconfig +++ b/boards/arm/stm32/viewtool-stm32f107/configs/nsh/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP="stm32" CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F107VC=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_BUILTIN=y CONFIG_FS_PROCFS=y diff --git a/boards/arm/stm32l4/nucleo-l432kc/README.txt b/boards/arm/stm32l4/nucleo-l432kc/README.txt index 9e0ccad5b0..32452f8d03 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/README.txt +++ b/boards/arm/stm32l4/nucleo-l432kc/README.txt @@ -86,92 +86,14 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The Atollic Toolchain, - 3. The devkitARM GNU toolchain, - 4. Raisonance GNU toolchain, or - 5. The NuttX buildroot Toolchain (see below). + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the CodeSourcery toolchain for Linux. - To use the Atollic, devkitARM, Raisonance GNU, or NuttX buildroot toolchain, - you simply need to add one of the following configuration options to your - .config (or defconfig) file: + All testing has been conducted using the NuttX CodeSourcery toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n : CodeSourcery under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : The Atollic toolchain under Windows - CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=n : devkitARM under Windows - CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE=y : Raisonance RIDE7 under Windows - CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=n : NuttX buildroot under Linux or Cygwin (default) - - If you change the default toolchain, then you may also have to modify the - PATH environment variable to include the path to the toolchain binaries. - - NOTE: There are several limitations to using a Windows based toolchain in a - Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - V=1 make clean_context all 2>&1 |tee mout - - An alias in your .bashrc file might make that less painful. - - 3. Dependencies are not made when using Windows versions of the GCC. This is - because the dependencies are generated using Windows paths which do not - work with the Cygwin make. - - MKDEP = $(TOPDIR)/tools/mknulldeps.sh - - The Atollic "Pro" and "Lite" Toolchain - -------------------------------------- - One problem that I had with the Atollic toolchains is that the provide a gcc.exe - and g++.exe in the same bin/ file as their ARM binaries. If the Atollic bin/ path - appears in your PATH variable before /usr/bin, then you will get the wrong gcc - when you try to build host executables. This will cause to strange, uninterpretable - errors build some host binaries in tools/ when you first make. - - Also, the Atollic toolchains are the only toolchains that have built-in support for - the FPU in these configurations. If you plan to use the Cortex-M4 FPU, you will - need to use the Atollic toolchain for now. See the FPU section below for more - information. - - The Atollic "Lite" Toolchain - ---------------------------- - The free, "Lite" version of the Atollic toolchain does not support C++ nor - does it support ar, nm, objdump, or objdcopy. If you use the Atollic "Lite" - toolchain, you will have to set: - - CONFIG_HAVE_CXX=n - - In order to compile successfully. Otherwise, you will get errors like: - - "C++ Compiler only available in TrueSTUDIO Professional" - - The make may then fail in some of the post link processing because of some of - the other missing tools. The Make.defs file replaces the ar and nm with - the default system x86 tool versions and these seem to work okay. Disable all - of the following to avoid using objcopy: - - CONFIG_INTELHEX_BINARY=n - CONFIG_MOTOROLA_SREC=n - CONFIG_RAW_BINARY=n - - devkitARM - --------- - The devkitARM toolchain includes a version of MSYS make. Make sure that the - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. + CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain IDEs ==== @@ -517,11 +439,11 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Linux. That can easily be reconfigured, of course. CONFIG_HOST_LINUX=y : Builds under Linux - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux 3. Although the default console is USART2 (which would correspond to the Virtual COM port) I have done all testing with the console diff --git a/boards/arm/stm32l4/nucleo-l432kc/configs/nsh/defconfig b/boards/arm/stm32l4/nucleo-l432kc/configs/nsh/defconfig index bc5d467b33..10f9fec0cc 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/configs/nsh/defconfig +++ b/boards/arm/stm32l4/nucleo-l432kc/configs/nsh/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP_STM32L432KC=y CONFIG_ARCH_CHIP_STM32L4=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y CONFIG_DEBUG_SYMBOLS=y diff --git a/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig b/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig index bd969cacc9..2ee097fb2e 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig +++ b/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_HIPRI_INTERRUPT=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_RAMVECTORS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARDCTL_MKRD=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y diff --git a/boards/arm/stm32l4/nucleo-l476rg/README.txt b/boards/arm/stm32l4/nucleo-l476rg/README.txt index a3f9f0cc24..665bc53bde 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/README.txt +++ b/boards/arm/stm32l4/nucleo-l476rg/README.txt @@ -99,92 +99,14 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The CodeSourcery GNU toolchain, - 2. The Atollic Toolchain, - 3. The devkitARM GNU toolchain, - 4. Raisonance GNU toolchain, or - 5. The NuttX buildroot Toolchain (see below). + 1. The NuttX buildroot Toolchain (see below), or + 2. Any generic arm-none-eabi GNU toolchain. - All testing has been conducted using the CodeSourcery toolchain for Linux. - To use the Atollic, devkitARM, Raisonance GNU, or NuttX buildroot toolchain, - you simply need to add one of the following configuration options to your - .config (or defconfig) file: + All testing has been conducted using the NuttX Codesourcery toolchain. To use + a different toolchain, you simply need to modify the configuration. As an + example: - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=n : CodeSourcery under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery under Linux - CONFIG_ARMV7M_TOOLCHAIN_ATOLLIC=y : The Atollic toolchain under Windows - CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=n : devkitARM under Windows - CONFIG_ARMV7M_TOOLCHAIN_RAISONANCE=y : Raisonance RIDE7 under Windows - CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=n : NuttX buildroot under Linux or Cygwin (default) - - If you change the default toolchain, then you may also have to modify the - PATH environment variable to include the path to the toolchain binaries. - - NOTE: There are several limitations to using a Windows based toolchain in a - Cygwin environment. The three biggest are: - - 1. The Windows toolchain cannot follow Cygwin paths. Path conversions are - performed automatically in the Cygwin makefiles using the 'cygpath' utility - but you might easily find some new path problems. If so, check out 'cygpath -w' - - 2. Windows toolchains cannot follow Cygwin symbolic links. Many symbolic links - are used in Nuttx (e.g., include/arch). The make system works around these - problems for the Windows tools by copying directories instead of linking them. - But this can also cause some confusion for you: For example, you may edit - a file in a "linked" directory and find that your changes had no effect. - That is because you are building the copy of the file in the "fake" symbolic - directory. If you use a Windows toolchain, you should get in the habit of - making like this: - - V=1 make clean_context all 2>&1 |tee mout - - An alias in your .bashrc file might make that less painful. - - 3. Dependencies are not made when using Windows versions of the GCC. This is - because the dependencies are generated using Windows paths which do not - work with the Cygwin make. - - MKDEP = $(TOPDIR)/tools/mknulldeps.sh - - The Atollic "Pro" and "Lite" Toolchain - -------------------------------------- - One problem that I had with the Atollic toolchains is that the provide a gcc.exe - and g++.exe in the same bin/ file as their ARM binaries. If the Atollic bin/ path - appears in your PATH variable before /usr/bin, then you will get the wrong gcc - when you try to build host executables. This will cause to strange, uninterpretable - errors build some host binaries in tools/ when you first make. - - Also, the Atollic toolchains are the only toolchains that have built-in support for - the FPU in these configurations. If you plan to use the Cortex-M4 FPU, you will - need to use the Atollic toolchain for now. See the FPU section below for more - information. - - The Atollic "Lite" Toolchain - ---------------------------- - The free, "Lite" version of the Atollic toolchain does not support C++ nor - does it support ar, nm, objdump, or objdcopy. If you use the Atollic "Lite" - toolchain, you will have to set: - - CONFIG_HAVE_CXX=n - - In order to compile successfully. Otherwise, you will get errors like: - - "C++ Compiler only available in TrueSTUDIO Professional" - - The make may then fail in some of the post link processing because of some of - the other missing tools. The Make.defs file replaces the ar and nm with - the default system x86 tool versions and these seem to work okay. Disable all - of the following to avoid using objcopy: - - CONFIG_INTELHEX_BINARY=n - CONFIG_MOTOROLA_SREC=n - CONFIG_RAW_BINARY=n - - devkitARM - --------- - The devkitARM toolchain includes a version of MSYS make. Make sure that the - the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM - path or will get the wrong version of make. + CONFIG_ARM_TOOLCHAIN_GNU_EABIL : Generic arm-none-eabi toolchain IDEs ==== @@ -639,11 +561,11 @@ Configurations b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Linux. That can easily be reconfigured, of course. CONFIG_HOST_LINUX=y : Builds under Linux - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : CodeSourcery for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux 3. Although the default console is USART2 (which would correspond to the Virtual COM port) I have done all testing with the console diff --git a/boards/arm/stm32l4/nucleo-l476rg/configs/nsh/defconfig b/boards/arm/stm32l4/nucleo-l476rg/configs/nsh/defconfig index 7679951656..293f3ba0d6 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/configs/nsh/defconfig +++ b/boards/arm/stm32l4/nucleo-l476rg/configs/nsh/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP_STM32L476RG=y CONFIG_ARCH_CHIP_STM32L4=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y CONFIG_DEBUG_SYMBOLS=y diff --git a/boards/arm/stm32l4/nucleo-l476rg/configs/nxdemo/defconfig b/boards/arm/stm32l4/nucleo-l476rg/configs/nxdemo/defconfig index c6b10b4636..2ed6b05522 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/configs/nxdemo/defconfig +++ b/boards/arm/stm32l4/nucleo-l476rg/configs/nxdemo/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_STM32L476RG=y CONFIG_ARCH_CHIP_STM32L4=y CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=8499 CONFIG_BUILTIN=y CONFIG_DEBUG_SYMBOLS=y diff --git a/boards/arm/str71x/olimex-strp711/README.txt b/boards/arm/str71x/olimex-strp711/README.txt index 83d2115d25..5799c1861b 100644 --- a/boards/arm/str71x/olimex-strp711/README.txt +++ b/boards/arm/str71x/olimex-strp711/README.txt @@ -116,9 +116,9 @@ GNU Toolchain Options The NuttX make system has been modified to support the following different toolchain options. - 1. The NuttX buildroot Toolchain (see below). - 2. The CodeSourcery GNU toolchain, - 3. The devkitARM GNU toolchain, or + 1. The NuttX buildroot Toolchain (see below), + 2. The ARM EABI GNU toolchain, or + 3. The devkitARM GNU toolchain. All testing has been conducted using the NuttX buildroot toolchain. To use the CodeSourcery or devkitARM GNU toolchain, you simply need to build the @@ -126,7 +126,7 @@ GNU Toolchain Options make # Will build for the NuttX buildroot toolchain make CROSSDEV=arm-eabi- # Will build for the devkitARM toolchain - make CROSSDEV=arm-none-eabi- # Will build for the CodeSourcery toolchain + make CROSSDEV=arm-none-eabi- # Will build for the ARM EABI GCC toolchain make CROSSDEV=arm-nuttx-elf- # Will build for the NuttX buildroot toolchain Of course, hard coding this CROSS_COMPILE value in Make.defs file will save diff --git a/boards/arm/tiva/dk-tm4c129x/README.txt b/boards/arm/tiva/dk-tm4c129x/README.txt index efe1e9234f..c0306fbe70 100644 --- a/boards/arm/tiva/dk-tm4c129x/README.txt +++ b/boards/arm/tiva/dk-tm4c129x/README.txt @@ -667,13 +667,13 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. CONFIG_HOST_WINDOWS=y : Windows :CONFIG_WINDOWS_CYGWIN=y : Cygwin under Windows - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcry for Windows (arm-none-eabi-gcc) + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU EABI toolchain for Windows CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary 3. Default stack sizes are large and should really be tuned to reduce diff --git a/boards/arm/tiva/dk-tm4c129x/configs/ipv6/defconfig b/boards/arm/tiva/dk-tm4c129x/configs/ipv6/defconfig index d70d8086f4..3ec24edaf3 100644 --- a/boards/arm/tiva/dk-tm4c129x/configs/ipv6/defconfig +++ b/boards/arm/tiva/dk-tm4c129x/configs/ipv6/defconfig @@ -20,7 +20,6 @@ CONFIG_ARCH_CHIP_TM4C129XNCZAD=y CONFIG_ARCH_CHIP_TM4C=y CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=11401 CONFIG_BUILTIN=y CONFIG_HOST_WINDOWS=y diff --git a/boards/arm/tiva/dk-tm4c129x/configs/nsh/defconfig b/boards/arm/tiva/dk-tm4c129x/configs/nsh/defconfig index 14e793eaaf..dbc827e2ce 100644 --- a/boards/arm/tiva/dk-tm4c129x/configs/nsh/defconfig +++ b/boards/arm/tiva/dk-tm4c129x/configs/nsh/defconfig @@ -19,7 +19,6 @@ CONFIG_ARCH_CHIP_TM4C129XNCZAD=y CONFIG_ARCH_CHIP_TM4C=y CONFIG_ARCH_IRQBUTTONS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=11401 CONFIG_BUILTIN=y CONFIG_HOST_WINDOWS=y diff --git a/boards/arm/tiva/eagle100/README.txt b/boards/arm/tiva/eagle100/README.txt index b31e262869..b10774b587 100644 --- a/boards/arm/tiva/eagle100/README.txt +++ b/boards/arm/tiva/eagle100/README.txt @@ -210,12 +210,12 @@ Configuration Sub-Directories NOTES: - 1. This configuration is set to use Cygwin under Windows and the - CodeSourcery toolchain. That, however, is easily reconfigurable: + 1. This configuration is set to use Cygwin under Windows and the ARM + EABI GCC toolchain. That, however, is easily reconfigurable: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARM7M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y httpd: This builds the uIP web server example using the examples/webserver application @@ -223,12 +223,13 @@ Configuration Sub-Directories NOTES: - 1. This configuration is set to use Cygwin under Windows and the - CodeSourcery toolchain. That, however, is easily reconfigurable: + 1. This configuration is set to use Cygwin under Windows and the ARM + EABI GCC toolchain. That, however, is easily reconfigurable: CONFIG_HOST_WINDOWS=y CONFIG_WINDOWS_CYGWIN=y - CONFIG_ARM7M_TOOLCHAIN_CODESOURCERYW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y This example can only be built using the buildroot toolchain with NXFLAT support diff --git a/boards/arm/tiva/eagle100/configs/httpd/defconfig b/boards/arm/tiva/eagle100/configs/httpd/defconfig index e49ffc089d..e62df9ae0a 100644 --- a/boards/arm/tiva/eagle100/configs/httpd/defconfig +++ b/boards/arm/tiva/eagle100/configs/httpd/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP_LM3S6918=y CONFIG_ARCH_CHIP_LM3S=y CONFIG_ARCH_CHIP_LM=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=4531 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/tiva/eagle100/configs/nettest/defconfig b/boards/arm/tiva/eagle100/configs/nettest/defconfig index feb359493c..7a70e1f77f 100644 --- a/boards/arm/tiva/eagle100/configs/nettest/defconfig +++ b/boards/arm/tiva/eagle100/configs/nettest/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP_LM3S6918=y CONFIG_ARCH_CHIP_LM3S=y CONFIG_ARCH_CHIP_LM=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LOOPSPERMSEC=4531 CONFIG_CONSOLE_SYSLOG=y CONFIG_DISABLE_ENVIRON=y diff --git a/boards/arm/tiva/eagle100/configs/nsh/defconfig b/boards/arm/tiva/eagle100/configs/nsh/defconfig index 613d06d858..556daebbe9 100644 --- a/boards/arm/tiva/eagle100/configs/nsh/defconfig +++ b/boards/arm/tiva/eagle100/configs/nsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_LM3S6918=y CONFIG_ARCH_CHIP_LM3S=y CONFIG_ARCH_CHIP_LM=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_DEVKITARM=y CONFIG_BOARD_LOOPSPERMSEC=4531 CONFIG_FS_FAT=y CONFIG_HOST_WINDOWS=y diff --git a/boards/arm/tiva/eagle100/configs/nxflat/defconfig b/boards/arm/tiva/eagle100/configs/nxflat/defconfig index edabf1bc6d..01c06fdae7 100644 --- a/boards/arm/tiva/eagle100/configs/nxflat/defconfig +++ b/boards/arm/tiva/eagle100/configs/nxflat/defconfig @@ -13,7 +13,6 @@ CONFIG_ARCH_CHIP_LM3S6918=y CONFIG_ARCH_CHIP_LM3S=y CONFIG_ARCH_CHIP_LM=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y CONFIG_BOARD_LATE_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=4531 CONFIG_CONSOLE_SYSLOG=y diff --git a/boards/arm/tiva/lm3s6432-s2e/configs/nsh/defconfig b/boards/arm/tiva/lm3s6432-s2e/configs/nsh/defconfig index 460532e92b..5c9f766eda 100644 --- a/boards/arm/tiva/lm3s6432-s2e/configs/nsh/defconfig +++ b/boards/arm/tiva/lm3s6432-s2e/configs/nsh/defconfig @@ -15,7 +15,6 @@ CONFIG_ARCH_CHIP_LM3S6432=y CONFIG_ARCH_CHIP_LM3S=y CONFIG_ARCH_CHIP_LM=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=4531 CONFIG_MAX_TASKS=16 CONFIG_MAX_WDOGPARMS=2 diff --git a/boards/arm/tiva/lm3s6965-ek/README.txt b/boards/arm/tiva/lm3s6965-ek/README.txt index 31001078fd..22cdeb76ca 100644 --- a/boards/arm/tiva/lm3s6965-ek/README.txt +++ b/boards/arm/tiva/lm3s6965-ek/README.txt @@ -432,7 +432,7 @@ Where is one of the following: 2. Default platform/toolchain: CONFIG_HOST_LINUX=y : Linux - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y : Codesourcery for Linux + CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y : GNU EABI toolchain for Linux CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary 3. As it is configured now, you MUST have a network connected. diff --git a/boards/arm/tiva/lm3s6965-ek/configs/tcpecho/defconfig b/boards/arm/tiva/lm3s6965-ek/configs/tcpecho/defconfig index 02b54fd471..a3c5a91462 100644 --- a/boards/arm/tiva/lm3s6965-ek/configs/tcpecho/defconfig +++ b/boards/arm/tiva/lm3s6965-ek/configs/tcpecho/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP_LM3S6965=y CONFIG_ARCH_CHIP_LM3S=y CONFIG_ARCH_CHIP_LM=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y CONFIG_BOARD_LOOPSPERMSEC=4531 CONFIG_EXAMPLES_TCPECHO=y CONFIG_EXAMPLES_TCPECHO_DRIPADDR=0xc0a80201 diff --git a/boards/arm/tiva/lm4f120-launchpad/README.txt b/boards/arm/tiva/lm4f120-launchpad/README.txt index c0b4a2e3b6..86c8a43769 100644 --- a/boards/arm/tiva/lm4f120-launchpad/README.txt +++ b/boards/arm/tiva/lm4f120-launchpad/README.txt @@ -486,7 +486,7 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. diff --git a/boards/arm/tiva/tm4c123g-launchpad/README.txt b/boards/arm/tiva/tm4c123g-launchpad/README.txt index 8e40d982f1..37ee3a55ac 100644 --- a/boards/arm/tiva/tm4c123g-launchpad/README.txt +++ b/boards/arm/tiva/tm4c123g-launchpad/README.txt @@ -613,7 +613,7 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course. diff --git a/boards/arm/tiva/tm4c1294-launchpad/README.txt b/boards/arm/tiva/tm4c1294-launchpad/README.txt index 099ea85f0a..2db4a997f9 100644 --- a/boards/arm/tiva/tm4c1294-launchpad/README.txt +++ b/boards/arm/tiva/tm4c1294-launchpad/README.txt @@ -47,7 +47,7 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. - 2. By default, this configuration uses the CodeSourcery toolchain + 2. By default, this configuration uses the ARM EABI toolchain for Windows and builds under Cygwin (or probably MSYS). That can easily be reconfigured, of course.