mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+13
-13
@@ -42,7 +42,7 @@ config ARCH_BOARD_C5471EVM
|
|||||||
This is a port to the Spectrum Digital C5471 evaluation board. The
|
This is a port to the Spectrum Digital C5471 evaluation board. The
|
||||||
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
||||||
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
||||||
NuttX runs on the ARM core and is built with a GNU arm-elf toolchain*.
|
NuttX runs on the ARM core and is built with a GNU arm-nuttx-elf toolchain*.
|
||||||
This port is complete and verified.
|
This port is complete and verified.
|
||||||
|
|
||||||
config ARCH_BOARD_COMPALE88
|
config ARCH_BOARD_COMPALE88
|
||||||
@@ -80,7 +80,7 @@ config ARCH_BOARD_EA3131
|
|||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
---help---
|
---help---
|
||||||
Embedded Artists EA3131 Development board. This board is based on the
|
Embedded Artists EA3131 Development board. This board is based on the
|
||||||
an NXP LPC3131 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3131 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is complete and mature.
|
STATUS: This port is complete and mature.
|
||||||
|
|
||||||
config ARCH_BOARD_EA3152
|
config ARCH_BOARD_EA3152
|
||||||
@@ -90,7 +90,7 @@ config ARCH_BOARD_EA3152
|
|||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
---help---
|
---help---
|
||||||
Embedded Artists EA3152 Development board. This board is based on the
|
Embedded Artists EA3152 Development board. This board is based on the
|
||||||
an NXP LPC3152 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3152 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is has not be exercised well, but since it is
|
STATUS: This port is has not be exercised well, but since it is
|
||||||
a simple derivative of the ea3131, it should be fully functional.
|
a simple derivative of the ea3131, it should be fully functional.
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ config ARCH_BOARD_EAGLE100
|
|||||||
---help---
|
---help---
|
||||||
Micromint Eagle-100 Development board. This board is based on the
|
Micromint Eagle-100 Development board. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
config ARCH_BOARD_EKK_LM3S9B96
|
config ARCH_BOARD_EKK_LM3S9B96
|
||||||
bool "TI/Stellaris EKK-LM3S9B96"
|
bool "TI/Stellaris EKK-LM3S9B96"
|
||||||
@@ -184,7 +184,7 @@ config ARCH_BOARD_LM3S6965EK
|
|||||||
---help---
|
---help---
|
||||||
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
config ARCH_BOARD_LM3S8962EK
|
config ARCH_BOARD_LM3S8962EK
|
||||||
bool "Stellaris LMS38962 Evaluation Kit"
|
bool "Stellaris LMS38962 Evaluation Kit"
|
||||||
@@ -215,7 +215,7 @@ config ARCH_BOARD_M68332EVB
|
|||||||
depends on ARCH_M68332
|
depends on ARCH_M68332
|
||||||
---help---
|
---help---
|
||||||
This is a work in progress for the venerable m68322evb board from
|
This is a work in progress for the venerable m68322evb board from
|
||||||
Motorola. This OS is also built with the arm-elf toolchain. STATUS:
|
Motorola. This OS is also built with the arm-nuttx-elf toolchain. STATUS:
|
||||||
This port was never completed.
|
This port was never completed.
|
||||||
|
|
||||||
config ARCH_BOARD_MBED
|
config ARCH_BOARD_MBED
|
||||||
@@ -225,7 +225,7 @@ config ARCH_BOARD_MBED
|
|||||||
---help---
|
---help---
|
||||||
The configurations in this directory support the mbed board (http://mbed.org)
|
The configurations in this directory support the mbed board (http://mbed.org)
|
||||||
that features the NXP LPC1768 microcontroller. This OS is also built
|
that features the NXP LPC1768 microcontroller. This OS is also built
|
||||||
with the arm-elf toolchain*. STATUS: Contributed.
|
with the arm-nuttx-elf toolchain*. STATUS: Contributed.
|
||||||
|
|
||||||
config ARCH_BOARD_MCU123
|
config ARCH_BOARD_MCU123
|
||||||
bool "mcu123.com LPC2148 Development Board"
|
bool "mcu123.com LPC2148 Development Board"
|
||||||
@@ -233,7 +233,7 @@ config ARCH_BOARD_MCU123
|
|||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This port is for the NXP LPC2148 as provided on the mcu123.com
|
This port is for the NXP LPC2148 as provided on the mcu123.com
|
||||||
lpc214x development board. This OS is also built with the arm-elf
|
lpc214x development board. This OS is also built with the arm-nuttx-elf
|
||||||
toolchain*. The port supports serial, timer0, spi, and usb.
|
toolchain*. The port supports serial, timer0, spi, and usb.
|
||||||
|
|
||||||
config ARCH_BOARD_MICROPENDOUS3
|
config ARCH_BOARD_MICROPENDOUS3
|
||||||
@@ -270,7 +270,7 @@ config ARCH_BOARD_NTOSD_DM320
|
|||||||
depends on ARCH_CHIP_DM320
|
depends on ARCH_CHIP_DM320
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-elf
|
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-nuttx-elf
|
||||||
toolchain*: see
|
toolchain*: see
|
||||||
|
|
||||||
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
||||||
@@ -316,7 +316,7 @@ config ARCH_BOARD_OLIMEXLPC2378
|
|||||||
depends on ARCH_CHIP_LPC2378
|
depends on ARCH_CHIP_LPC2378
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex-lpc2378 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
||||||
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
||||||
|
|
||||||
@@ -326,7 +326,7 @@ config ARCH_BOARD_OLIMEX_STRP711
|
|||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Olimex STR-P711 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex STR-P711 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
||||||
further information. STATUS: Configurations for the basic OS test and NSH
|
further information. STATUS: Configurations for the basic OS test and NSH
|
||||||
are complete and verified.
|
are complete and verified.
|
||||||
@@ -335,7 +335,7 @@ config ARCH_BOARD_OLIMEX_STM32P107
|
|||||||
bool "Olimex STM32 P107 board"
|
bool "Olimex STM32 P107 board"
|
||||||
depends on ARCH_CHIP_STM32F107VC
|
depends on ARCH_CHIP_STM32F107VC
|
||||||
---help---
|
---help---
|
||||||
This port uses the Olimex STM32 P107 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex STM32 P107 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.olimex.com for further information. This
|
Linux or Cygwin. See the http://www.olimex.com for further information. This
|
||||||
board features the STMicro STM32F107VC MCU
|
board features the STMicro STM32F107VC MCU
|
||||||
|
|
||||||
@@ -411,7 +411,7 @@ config ARCH_BOARD_SHENZHOU
|
|||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
This port uses the Shenzhou STM32 F107 board and a GNU arm-elf toolchain* under
|
This port uses the Shenzhou STM32 F107 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.armjishu.com for further information. This
|
Linux or Cygwin. See the http://www.armjishu.com for further information. This
|
||||||
board features the STMicro STM32F107VC MCU
|
board features the STMicro STM32F107VC MCU
|
||||||
|
|
||||||
|
|||||||
+12
-12
@@ -1524,7 +1524,7 @@ configs/c5471evm
|
|||||||
This is a port to the Spectrum Digital C5471 evaluation board. The
|
This is a port to the Spectrum Digital C5471 evaluation board. The
|
||||||
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
||||||
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
||||||
NuttX runs on the ARM core and is built with a GNU arm-elf toolchain*.
|
NuttX runs on the ARM core and is built with a GNU arm-nuttx-elf toolchain*.
|
||||||
This port is complete and verified.
|
This port is complete and verified.
|
||||||
|
|
||||||
configs/compal_e88 and compal_e99
|
configs/compal_e88 and compal_e99
|
||||||
@@ -1540,19 +1540,19 @@ configs/demo9s12ne64
|
|||||||
|
|
||||||
configs/ea3131
|
configs/ea3131
|
||||||
Embedded Artists EA3131 Development board. This board is based on the
|
Embedded Artists EA3131 Development board. This board is based on the
|
||||||
an NXP LPC3131 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3131 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is complete and mature.
|
STATUS: This port is complete and mature.
|
||||||
|
|
||||||
configs/ea3152
|
configs/ea3152
|
||||||
Embedded Artists EA3152 Development board. This board is based on the
|
Embedded Artists EA3152 Development board. This board is based on the
|
||||||
an NXP LPC3152 MCU. This OS is built with the arm-elf toolchain*.
|
an NXP LPC3152 MCU. This OS is built with the arm-nuttx-elf toolchain*.
|
||||||
STATUS: This port is has not be exercised well, but since it is
|
STATUS: This port is has not be exercised well, but since it is
|
||||||
a simple derivative of the ea3131, it should be fully functional.
|
a simple derivative of the ea3131, it should be fully functional.
|
||||||
|
|
||||||
configs/eagle100
|
configs/eagle100
|
||||||
Micromint Eagle-100 Development board. This board is based on the
|
Micromint Eagle-100 Development board. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary LM3S6918. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
configs/ekk-lm3s9b96
|
configs/ekk-lm3s9b96
|
||||||
TI/Stellaris EKK-LM3S9B96 board. This board is based on the
|
TI/Stellaris EKK-LM3S9B96 board. This board is based on the
|
||||||
@@ -1591,7 +1591,7 @@ configs/lm3s6432-s2e
|
|||||||
configs/lm3s6965-ek
|
configs/lm3s6965-ek
|
||||||
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
Stellaris LM3S6965 Evaluation Kit. This board is based on the
|
||||||
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
an ARM Cortex-M3 MCU, the Luminary/TI LM3S6965. This OS is built with the
|
||||||
arm-elf toolchain*. STATUS: This port is complete and mature.
|
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
|
||||||
|
|
||||||
configs/lm3s8962-ek
|
configs/lm3s8962-ek
|
||||||
Stellaris LMS38962 Evaluation Kit.
|
Stellaris LMS38962 Evaluation Kit.
|
||||||
@@ -1607,17 +1607,17 @@ configs/lpc4330-xplorer
|
|||||||
|
|
||||||
configs/m68322evb
|
configs/m68322evb
|
||||||
This is a work in progress for the venerable m68322evb board from
|
This is a work in progress for the venerable m68322evb board from
|
||||||
Motorola. This OS is also built with the arm-elf toolchain*. STATUS:
|
Motorola. This OS is also built with the arm-nuttx-elf toolchain*. STATUS:
|
||||||
This port was never completed.
|
This port was never completed.
|
||||||
|
|
||||||
configs/mbed
|
configs/mbed
|
||||||
The configurations in this directory support the mbed board (http://mbed.org)
|
The configurations in this directory support the mbed board (http://mbed.org)
|
||||||
that features the NXP LPC1768 microcontroller. This OS is also built
|
that features the NXP LPC1768 microcontroller. This OS is also built
|
||||||
with the arm-elf toolchain*. STATUS: Contributed.
|
with the arm-nuttx-elf toolchain*. STATUS: Contributed.
|
||||||
|
|
||||||
configs/mcu123-lpc214x
|
configs/mcu123-lpc214x
|
||||||
This port is for the NXP LPC2148 as provided on the mcu123.com
|
This port is for the NXP LPC2148 as provided on the mcu123.com
|
||||||
lpc214x development board. This OS is also built with the arm-elf
|
lpc214x development board. This OS is also built with the arm-nuttx-elf
|
||||||
toolchain*. The port supports serial, timer0, spi, and usb.
|
toolchain*. The port supports serial, timer0, spi, and usb.
|
||||||
|
|
||||||
configs/micropendous3
|
configs/micropendous3
|
||||||
@@ -1642,7 +1642,7 @@ configs/ne64badge
|
|||||||
not yet been fully tested.
|
not yet been fully tested.
|
||||||
|
|
||||||
configs/ntosd-dm320
|
configs/ntosd-dm320
|
||||||
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-elf
|
This port uses the Neuros OSD v1.0 Dev Board with a GNU arm-nuttx-elf
|
||||||
toolchain*: see
|
toolchain*: see
|
||||||
|
|
||||||
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
|
||||||
@@ -1666,18 +1666,18 @@ configs/olimex-lpc1766stk
|
|||||||
Linux or Cygwin. STATUS: Complete and mature.
|
Linux or Cygwin. STATUS: Complete and mature.
|
||||||
|
|
||||||
configs/olimex-lpc2378
|
configs/olimex-lpc2378
|
||||||
This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex-lpc2378 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
Linux or Cygwin. STATUS: ostest and NSH configurations available.
|
||||||
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
This port for the NXP LPC2378 was contributed by Rommel Marcelo.
|
||||||
|
|
||||||
configs/olimex-stm32-p107
|
configs/olimex-stm32-p107
|
||||||
This port uses the Olimex STM32-P107 board (STM32F107VC) and a GNU arm-elf
|
This port uses the Olimex STM32-P107 board (STM32F107VC) and a GNU arm-nuttx-elf
|
||||||
toolchain* under Linux or Cygwin. See the https://www.olimex.com/dev/stm32-p107.html
|
toolchain* under Linux or Cygwin. See the https://www.olimex.com/dev/stm32-p107.html
|
||||||
for further information. Contributed by Max Holtzberg. STATUS: Configurations
|
for further information. Contributed by Max Holtzberg. STATUS: Configurations
|
||||||
for the basic OS test and NSH are available and verified.
|
for the basic OS test and NSH are available and verified.
|
||||||
|
|
||||||
configs/olimex-strp711
|
configs/olimex-strp711
|
||||||
This port uses the Olimex STR-P711 board and a GNU arm-elf toolchain* under
|
This port uses the Olimex STR-P711 board and a GNU arm-nuttx-elf toolchain* under
|
||||||
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
Linux or Cygwin. See the http://www.olimex.com/dev/str-p711.html" for
|
||||||
further information. STATUS: Configurations for the basic OS test and NSH
|
further information. STATUS: Configurations for the basic OS test and NSH
|
||||||
are complete and verified.
|
are complete and verified.
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_AVR_BUILDROOT),y)
|
ifeq ($(CONFIG_AVR_BUILDROOT),y)
|
||||||
# NuttX buildroot GCC toolchain under Linux or Cygwin
|
# NuttX buildroot GCC toolchain under Linux or Cygwin
|
||||||
CROSSDEV = avr-elf-
|
CROSSDEV = avr-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
ARCHCPUFLAGS = -mmcu=atmega128
|
ARCHCPUFLAGS = -mmcu=atmega128
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include ${TOPDIR}/tools/Config.mk
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ EXTRA_LIBS = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
|
|||||||
# ^^^ Stupid hack! Why do I have to put it twice???
|
# ^^^ Stupid hack! Why do I have to put it twice???
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ EXTRA_LIBS = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
|
|||||||
# ^^^ Stupid hack! Why do I have to put it twice???
|
# ^^^ Stupid hack! Why do I have to put it twice???
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ EXTRA_LIBS = $(OSMODIR)/src/target/firmware/comm/libcomm.a \
|
|||||||
# ^^^ Stupid hack! Why do I have to put it twice???
|
# ^^^ Stupid hack! Why do I have to put it twice???
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# Setup for the selected toolchain
|
# Setup for the selected toolchain
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
|
|
||||||
CROSSDEV = m9s12x-elf-
|
CROSSDEV = m9s12x-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
WINTOOL = n
|
WINTOOL = n
|
||||||
|
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ Using OpenOCD and GDB
|
|||||||
Once the OpenOCD daemon has been started, you can connect to it via
|
Once the OpenOCD daemon has been started, you can connect to it via
|
||||||
GDB using the following GDB command:
|
GDB using the following GDB command:
|
||||||
|
|
||||||
arm-elf-gdb
|
arm-nuttx-elf-gdb
|
||||||
(gdb) target remote localhost:3333
|
(gdb) target remote localhost:3333
|
||||||
|
|
||||||
And you can load the NuttX ELF file:
|
And you can load the NuttX ELF file:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ Using OpenOCD and GDB
|
|||||||
Once the OpenOCD daemon has been started, you can connect to it via
|
Once the OpenOCD daemon has been started, you can connect to it via
|
||||||
GDB using the following GDB command:
|
GDB using the following GDB command:
|
||||||
|
|
||||||
arm-elf-gdb
|
arm-nuttx-elf-gdb
|
||||||
(gdb) target remote localhost:3333
|
(gdb) target remote localhost:3333
|
||||||
|
|
||||||
And you can load the NuttX ELF file:
|
And you can load the NuttX ELF file:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_LPC31_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC31_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ GNU Toolchain Options
|
|||||||
make # Will build for the devkitARM toolchain
|
make # Will build for the devkitARM toolchain
|
||||||
make CROSSDEV=arm-eabi- # Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
make CROSSDEV=arm-elf- # Will build for the NuttX buildroot 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
|
Of course, hard coding this CROSS_COMPILE value in Make.defs file will save
|
||||||
some repetitive typing.
|
some repetitive typing.
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
@@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
@@ -106,7 +106,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
@@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
@@ -106,7 +106,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
@@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
@@ -106,7 +106,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
@@ -58,7 +58,7 @@ LDNXFLAT = ldnxflat
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
@@ -109,7 +109,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
@@ -55,7 +55,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
@@ -106,7 +106,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ include ${TOPDIR}/tools/Config.mk
|
|||||||
# make -- Will build for the devkitARM toolchain
|
# make -- Will build for the devkitARM toolchain
|
||||||
# make CROSSDEV=arm-eabi- -- Will build for the devkitARM 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 CodeSourcery toolchain
|
||||||
# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain
|
# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain
|
||||||
|
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
@@ -58,7 +58,7 @@ LDNXFLAT = ldnxflat
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ($(CROSSDEV),arm-elf-)
|
ifeq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
MKDEP = $(TOPDIR)/tools/mkdeps.sh
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
|
||||||
@@ -109,7 +109,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -121,7 +121,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -121,7 +121,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -82,8 +82,8 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCROSSDEV = arm-elf-
|
ARCROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -153,7 +153,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -134,7 +134,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_KINETIS_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_KINETIS_BUILDROOT),y)
|
ifeq ($(CONFIG_KINETIS_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft -mlong-calls
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft -mlong-calls
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
ifeq ($(CONFIG_LM3S_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -120,7 +120,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ ifeq ($(CONFIG_LPC43_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCROSSDEV = arm-elf-
|
ARCROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -176,7 +176,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ ifeq ($(CONFIG_LPC43_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC43_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCROSSDEV = arm-elf-
|
ARCROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m4 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -176,7 +176,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LPC17_DEVKITARM),y)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
ifeq ($(CONFIG_LPC17_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-nuttx-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -132,7 +132,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user