summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-26 15:37:54 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-26 15:37:54 -0600
commit9507063fa0f4e4e903db53eda1cd49390be5a264 (patch)
tree1cd69e103d2f095787ee1c4a77448fc025cd69da
parent32afaa26749ac4d2b5a0c019fd26e16749999195 (diff)
downloadpx4-nuttx-9507063fa0f4e4e903db53eda1cd49390be5a264.tar.gz
px4-nuttx-9507063fa0f4e4e903db53eda1cd49390be5a264.tar.bz2
px4-nuttx-9507063fa0f4e4e903db53eda1cd49390be5a264.zip
Misc changes while verifying the clean build of the LPC4357 port
-rw-r--r--nuttx/Documentation/README.html2
-rw-r--r--nuttx/README.txt2
-rw-r--r--nuttx/configs/README.txt5
-rw-r--r--nuttx/configs/lpc4357-evb/nsh/defconfig70
-rwxr-xr-xnuttx/configs/lpc4357-evb/nsh/setenv.sh1
5 files changed, 34 insertions, 46 deletions
diff --git a/nuttx/Documentation/README.html b/nuttx/Documentation/README.html
index 95b5760f8..8e58d0701 100644
--- a/nuttx/Documentation/README.html
+++ b/nuttx/Documentation/README.html
@@ -115,6 +115,8 @@
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/lm3s8962-ek/README.txt"><b><i>README.txt</i></b></a>
| | |- lpc4330-xplorer/
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/llpc4330-xplorer/README.txt"><b><i>README.txt</i></b></a>
+ | | |- lpc4357-evb/
+ | | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/llpc4357-evb/README.txt"><b><i>README.txt</i></b></a>
| | |- lpcxpresso-lpc1768/
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/lpcxpresso-lpc1768/README.txt"><b><i>README.txt</i></b></a>
| | |- maple/
diff --git a/nuttx/README.txt b/nuttx/README.txt
index 28621166e..1bef4adf4 100644
--- a/nuttx/README.txt
+++ b/nuttx/README.txt
@@ -1069,6 +1069,8 @@ nuttx
| | `- README.txt
| |- lpc4330-xplorer/
| | `- README.txt
+ | |- lpc4357-evb/
+ | | `- README.txt
| |- lpcxpresso-lpc1768/
| | `- README.txt
| |- maple/
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt
index 78cc7a10e..938e9d41b 100644
--- a/nuttx/configs/README.txt
+++ b/nuttx/configs/README.txt
@@ -282,6 +282,11 @@ configs/lpc4330-xplorer
NuttX port to the LPC4330-Xplorer board from NGX Technologies featuring
the NXP LPC4330FET100 MCU
+configs/lpc4357-evb
+ NuttX port to the LPC4357-EVB board from NGX Technologies featuring
+ the NXP LPC4357FET256 MCU. Based on the LPC4300 Xplorer port and
+ provided by Toby Duckworth.
+
configs/maple
NuttX support for the LeafLab's Maple and Maple Mini boards. These boards
are based on the STM32F103RBT6 chip for the standard version and on the
diff --git a/nuttx/configs/lpc4357-evb/nsh/defconfig b/nuttx/configs/lpc4357-evb/nsh/defconfig
index 8c1590f42..2e04c5110 100644
--- a/nuttx/configs/lpc4357-evb/nsh/defconfig
+++ b/nuttx/configs/lpc4357-evb/nsh/defconfig
@@ -16,7 +16,7 @@ CONFIG_HOST_LINUX=y
#
# Build Configuration
#
-CONFIG_APPS_DIR="../apps"
+# CONFIG_APPS_DIR="../apps"
CONFIG_BUILD_FLAT=y
# CONFIG_BUILD_2PASS is not set
@@ -41,34 +41,9 @@ CONFIG_ARCH_STDARG_H=y
#
# Debug Options
#
-CONFIG_DEBUG=y
+# CONFIG_DEBUG is not set
CONFIG_ARCH_HAVE_STACKCHECK=y
# CONFIG_ARCH_HAVE_HEAPCHECK is not set
-# CONFIG_DEBUG_VERBOSE is not set
-
-#
-# Subsystem Debug Options
-#
-# CONFIG_DEBUG_AUDIO is not set
-# CONFIG_DEBUG_BINFMT is not set
-# CONFIG_DEBUG_FS is not set
-# CONFIG_DEBUG_GRAPHICS is not set
-# CONFIG_DEBUG_LIB is not set
-# CONFIG_DEBUG_MM is not set
-# CONFIG_DEBUG_SCHED is not set
-
-#
-# OS Function Debug Options
-#
-# CONFIG_DEBUG_IRQ is not set
-# CONFIG_DEBUG_STACK is not set
-
-#
-# Driver Debug Options
-#
-# CONFIG_DEBUG_LEDS is not set
-# CONFIG_DEBUG_ANALOG is not set
-# CONFIG_DEBUG_GPIO is not set
# CONFIG_DEBUG_SYMBOLS is not set
CONFIG_ARCH_HAVE_CUSTOMOPT=y
CONFIG_DEBUG_NOOPT=y
@@ -97,6 +72,7 @@ CONFIG_ARCH="arm"
# CONFIG_ARCH_CHIP_C5471 is not set
# CONFIG_ARCH_CHIP_CALYPSO is not set
# CONFIG_ARCH_CHIP_DM320 is not set
+# CONFIG_ARCH_CHIP_EFM32 is not set
# CONFIG_ARCH_CHIP_IMX is not set
# CONFIG_ARCH_CHIP_KINETIS is not set
# CONFIG_ARCH_CHIP_KL is not set
@@ -129,7 +105,6 @@ CONFIG_ARMV7M_CMNVECTOR=y
CONFIG_ARCH_HAVE_FPU=y
# CONFIG_ARCH_FPU is not set
# CONFIG_ARMV7M_MPU is not set
-# CONFIG_DEBUG_HARDFAULT is not set
#
# ARMV7M Configuration Options
@@ -138,7 +113,7 @@ CONFIG_ARCH_HAVE_FPU=y
# CONFIG_ARMV7M_TOOLCHAIN_CODEREDL is not set
# CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL is not set
CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y
-# CONFIG_SERIAL_TERMIOS is not set
+# CONFIG_ARMV7M_ITMSYSLOG is not set
#
# LPC43xx Configuration Options
@@ -299,6 +274,8 @@ CONFIG_DISABLE_OS_API=y
#
# Clocks and Timers
#
+CONFIG_ARCH_HAVE_TICKLESS=y
+# CONFIG_SCHED_TICKLESS is not set
CONFIG_USEC_PER_TICK=10000
# CONFIG_SYSTEM_TIME64 is not set
# CONFIG_CLOCK_MONOTONIC is not set
@@ -320,7 +297,6 @@ CONFIG_INIT_ENTRYPOINT=y
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_RR_INTERVAL=200
CONFIG_TASK_NAME_SIZE=0
-CONFIG_MAX_TASK_ARGS=4
CONFIG_MAX_TASKS=16
# CONFIG_SCHED_HAVE_PARENT is not set
CONFIG_SCHED_WAITPID=y
@@ -372,6 +348,13 @@ CONFIG_PREALLOC_MQ_MSGS=4
CONFIG_MQ_MAXMSGSIZE=32
#
+# Work Queue Support
+#
+# CONFIG_SCHED_WORKQUEUE is not set
+# CONFIG_SCHED_HPWORK is not set
+# CONFIG_SCHED_LPWORK is not set
+
+#
# Stack and heap information
#
CONFIG_IDLETHREAD_STACKSIZE=1024
@@ -441,6 +424,7 @@ CONFIG_ARCH_HAVE_USART0=y
# CONFIG_ARCH_HAVE_USART6 is not set
# CONFIG_ARCH_HAVE_USART7 is not set
# CONFIG_ARCH_HAVE_USART8 is not set
+# CONFIG_ARCH_HAVE_OTHER_UART is not set
#
# USART Configuration
@@ -449,8 +433,10 @@ CONFIG_USART0_ISUART=y
CONFIG_MCU_SERIAL=y
CONFIG_STANDARD_SERIAL=y
CONFIG_SERIAL_NPOLLWAITERS=2
-# CONFIG_SERIAL_TIOCSERGSTRUCT is not set
+CONFIG_ARCH_HAVE_SERIAL_TERMIOS=y
+# CONFIG_SERIAL_TERMIOS is not set
CONFIG_USART0_SERIAL_CONSOLE=y
+# CONFIG_OTHER_SERIAL_CONSOLE is not set
# CONFIG_NO_SERIAL_CONSOLE is not set
#
@@ -503,6 +489,8 @@ CONFIG_USART0_2STOP=0
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set
CONFIG_FS_READABLE=y
CONFIG_FS_WRITABLE=y
+# CONFIG_FS_NAMED_SEMAPHORES is not set
+CONFIG_FS_MQUEUE_MPATH="/var/mqueue"
# CONFIG_FS_RAMMAP is not set
CONFIG_FS_FAT=y
CONFIG_FAT_LCNAMES=y
@@ -518,8 +506,8 @@ CONFIG_FAT_MAXFNAME=32
#
# System Logging
#
-# CONFIG_SYSLOG_ENABLE is not set
# CONFIG_SYSLOG is not set
+# CONFIG_SYSLOG_TIMESTAMP is not set
#
# Graphics Support
@@ -540,7 +528,7 @@ CONFIG_MM_REGIONS=2
# CONFIG_AUDIO is not set
#
-# Binary Formats
+# Binary Loader
#
# CONFIG_BINFMT_DISABLE is not set
# CONFIG_BINFMT_EXEPATH is not set
@@ -574,6 +562,8 @@ CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=1024
CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE=2048
# CONFIG_LIBC_STRERROR is not set
# CONFIG_LIBC_PERROR_STDOUT is not set
+CONFIG_LIBC_TMPDIR="/tmp"
+CONFIG_LIBC_MAX_TMPFILE=32
CONFIG_ARCH_LOWPUTC=y
# CONFIG_LIBC_LOCALTIME is not set
CONFIG_LIB_SENDFILE_BUFSIZE=512
@@ -583,7 +573,6 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
#
# Non-standard Library Support
#
-# CONFIG_SCHED_WORKQUEUE is not set
# CONFIG_LIB_KBDCODEC is not set
# CONFIG_LIB_SLCDCODEC is not set
@@ -665,6 +654,7 @@ CONFIG_EXAMPLES_NSH=y
# Interpreters
#
# CONFIG_INTERPRETERS_FICL is not set
+# CONFIG_INTERPRETERS_BAS is not set
# CONFIG_INTERPRETERS_PCODE is not set
#
@@ -703,7 +693,6 @@ CONFIG_NSH_READLINE=y
CONFIG_NSH_LINELEN=64
# CONFIG_NSH_DISABLE_SEMICOLON is not set
CONFIG_NSH_CMDPARMS=y
-CONFIG_NSH_TMPDIR="/tmp"
CONFIG_NSH_MAXARGUMENTS=6
CONFIG_NSH_ARGCAT=y
CONFIG_NSH_NESTDEPTH=3
@@ -790,21 +779,11 @@ CONFIG_NSH_ARCHINIT=y
#
#
-# Camera
-#
-# CONFIG_SYSTEM_CAMERA is not set
-
-#
# Custom Free Memory Command
#
# CONFIG_SYSTEM_FREE is not set
#
-# DCMI
-#
-# CONFIG_SYSTEM_DCMI is not set
-
-#
# EMACS-like Command Line Editor
#
# CONFIG_SYSTEM_CLE is not set
@@ -835,7 +814,6 @@ CONFIG_NSH_ARCHINIT=y
#
# NxPlayer media player library / command Line
#
-# CONFIG_SYSTEM_NXPLAYER is not set
#
# RAM test
diff --git a/nuttx/configs/lpc4357-evb/nsh/setenv.sh b/nuttx/configs/lpc4357-evb/nsh/setenv.sh
index 2c7049443..911a0a2da 100755
--- a/nuttx/configs/lpc4357-evb/nsh/setenv.sh
+++ b/nuttx/configs/lpc4357-evb/nsh/setenv.sh
@@ -59,6 +59,7 @@ export SCRIPT_BIN="/cygdrive/c/nxp/LPCXpresso_4.2.3_292/lpcxpresso/bin"
# 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/Users/MyName/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_EABI/bin"
#export SCRIPT_BIN=
# These are the Cygwin paths to the locations where I installed the Atollic