summaryrefslogtreecommitdiff
path: root/nuttx/configs/lpc4330-xplorer/ostest
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/ostest')
-rw-r--r--nuttx/configs/lpc4330-xplorer/ostest/Make.defs11
-rw-r--r--nuttx/configs/lpc4330-xplorer/ostest/defconfig56
-rwxr-xr-xnuttx/configs/lpc4330-xplorer/ostest/setenv.sh8
3 files changed, 53 insertions, 22 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-
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
index 848c43eac..b290c9079 100644
--- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
@@ -124,47 +124,59 @@ CONFIG_BOOT_CS3FLASH=n
#
# Identify toolchain and linker options
#
-CONFIG_LPC43_CODESOURCERYW=y
+CONFIG_LPC32_CODEREDW=y
+CONFIG_LPC43_CODESOURCERYW=n
CONFIG_LPC43_CODESOURCERYL=n
CONFIG_LPC43_ATOLLIC_LITE=n
CONFIG_LPC43_ATOLLIC_PRO=n
CONFIG_LPC43_DEVKITARM=n
CONFIG_LPC43_BUILDROOT=n
+CONFIG_ARCH_STDARG_H=y
+
#
# Individual subsystems can be enabled:
#
# Individual subsystems can be enabled:
# (MAINOSC, PLL0, PLL1 and FLASH are controlled in board.h)
-CONFIG_LPC43_ETHERNET=n
-CONFIG_LPC43_USBHOST=n
-CONFIG_LPC43_USBOTG=n
-CONFIG_LPC43_USBDEV=n
-CONFIG_LPC43_USART0=y
-CONFIG_LPC43_UART1=n
-CONFIG_LPC43_USART2=n
-CONFIG_LPC43_USART3=n
+#
+CONFIG_LPC43_ADC0=n
+CONFIG_LPC43_ADC1=n
+CONFIG_LPC43_ATIMER=n
CONFIG_LPC43_CAN1=n
CONFIG_LPC43_CAN2=n
+CONFIG_LPC43_DAC=n
+CONFIG_LPC43_EMC=n
+CONFIG_LPC43_ETHERNET=n
+CONFIG_LPC43_EVNTMNTR=n
+CONFIG_LPC43_GPDMA=n
+CONFIG_LPC43_I2C0=n
+CONFIG_LPC43_I2C1=n
+CONFIG_LPC43_I2S0=n
+CONFIG_LPC43_I2S1=n
+CONFIG_LPC43_LCD=n
+CONFIG_LPC43_MCPWM=n
+CONFIG_LPC43_QEI=n
+CONFIG_LPC43_RIT=n
+CONFIG_LPC43_RTC=n
+CONFIG_LPC43_SCT=n
+CONFIG_LPC43_SDMMC=n
CONFIG_LPC43_SPI=n
+CONFIG_LPC43_SPIFI=n
CONFIG_LPC43_SSP0=n
CONFIG_LPC43_SSP1=n
-CONFIG_LPC43_I2C0=n
-CONFIG_LPC43_I2C1=n
-CONFIG_LPC43_I2S=n
CONFIG_LPC43_TMR0=n
CONFIG_LPC43_TMR1=n
CONFIG_LPC43_TMR2=n
CONFIG_LPC43_TMR3=n
-CONFIG_LPC43_RIT=n
-CONFIG_LPC43_PWM=n
-CONFIG_LPC43_MCPWM=n
-CONFIG_LPC43_QEI=n
-CONFIG_LPC43_RTC=n
-CONFIG_LPC43_WDT=n
-CONFIG_LPC43_ADC=n
-CONFIG_LPC43_DAC=n
-CONFIG_LPC43_GPDMA=n
+CONFIG_LPC43_USART0=y
+CONFIG_LPC43_UART1=n
+CONFIG_LPC43_USART2=n
+CONFIG_LPC43_USART3=n
+CONFIG_LPC43_USB0=n
+CONFIG_LPC43_USB1=n
+CONFIG_LPC43_USB1_ULPI=n
+CONFIG_LPC43_WWDT=n
#
# LPC43xx specific serial device driver settings
@@ -357,6 +369,8 @@ CONFIG_HAVE_LIBM=n
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n
+CONFIG_DEBUG_SCHED=n
+
CONFIG_MM_REGIONS=2
CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=200
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh b/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh
index 913d78ead..c2e0325d5 100755
--- a/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh
+++ b/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh
@@ -47,10 +47,16 @@ if [ -z "${PATH_ORIG}" ]; then
export PATH_ORIG="${PATH}"
fi
+# This is the Cygwin path to the location where I installed the Code Red
+# toolchain under windows. You will have to edit this if you install the
+# Code Red toolchain in any other location or if you install a different
+# version
+export TOOLCHAIN_BIN="/cygdrive/c/code_red/RedSuite_4.2.3_379/redsuite/Tools/bin"
+
# This the Cygwin path to the location where I installed the CodeSourcery
# toolchain under windows. You will also have to edit this if you install
# the CodeSourcery toolchain in any other location
-export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
+#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
# These are the Cygwin paths to the locations where I installed the Atollic
# toolchain under windows. You will also have to edit this if you install