diff options
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/ostest/Make.defs')
-rw-r--r-- | nuttx/configs/lpc4330-xplorer/ostest/Make.defs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/Make.defs b/nuttx/configs/lpc4330-xplorer/ostest/Make.defs index 1e8427c1c..7f2bb2bdf 100644 --- a/nuttx/configs/lpc4330-xplorer/ostest/Make.defs +++ b/nuttx/configs/lpc4330-xplorer/ostest/Make.defs @@ -37,6 +37,17 @@ include ${TOPDIR}/.config # Setup for the selected toolchain +ifeq ($(CONFIG_LPC32_CODEREDW),y) + # Code Red RedSuite under Windows + CROSSDEV = arm-none-eabi- + ARCROSSDEV = arm-none-eabi- + WINTOOL = y +ifeq ($(CONFIG_ARCH_FPU),y) + ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard +else + ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft +endif +endif ifeq ($(CONFIG_LPC43_CODESOURCERYW),y) # CodeSourcery under Windows CROSSDEV = arm-none-eabi- |