summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-30 11:20:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-30 11:20:24 -0600
commit76e501b5ca712f3dffba051776881989583ebf75 (patch)
treec79cdad14657443afc88899cbc76bb915bd7abe7
parent2896baa86fe813fddfe8ce77a8247872f40515c6 (diff)
downloadpx4-nuttx-76e501b5ca712f3dffba051776881989583ebf75.tar.gz
px4-nuttx-76e501b5ca712f3dffba051776881989583ebf75.tar.bz2
px4-nuttx-76e501b5ca712f3dffba051776881989583ebf75.zip
Minor SAM3U-EK NxWM build updates, documentation, configurations
-rw-r--r--nuttx/configs/sam3u-ek/README.txt21
-rw-r--r--nuttx/configs/sam3u-ek/nxwm/defconfig26
2 files changed, 18 insertions, 29 deletions
diff --git a/nuttx/configs/sam3u-ek/README.txt b/nuttx/configs/sam3u-ek/README.txt
index 55f269d0f..04396fc48 100644
--- a/nuttx/configs/sam3u-ek/README.txt
+++ b/nuttx/configs/sam3u-ek/README.txt
@@ -442,15 +442,20 @@ Configurations
Build Setup:
CONFIG_HOST_LINUX=y : Linux or other POSIX environment
- 4. These configurations use the older, OABI, buildroot toolchain. But
- that is easily reconfigured:
+ 4. All of these configurations use the older, OABI, buildroot toolchain
+ (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:
+ Build Setup:
+ CONFIG_HOST_LINUX=y : Linux or other pure POSIX invironment
+ : (including Cygwin)
System Type -> Toolchain:
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot toolchain
CONFIG_ARMV7M_OABI_TOOLCHAIN=y : Older, OABI toolchain
- If you want to use the Atmel GCC toolchain, here are the steps to
- do so:
+ If you want to use the Atmel GCC toolchain, for example, here are the
+ steps to do so:
Build Setup:
CONFIG_HOST_WINDOWS=y : Windows
@@ -696,6 +701,14 @@ Configurations
2. 2013-6-29: Various changes to get a clean build of this
configuration. Still untested.
+ 3. 20113-6-30: I cannot load this program using AtmelStudio6.1.
+ The total size with DEBUG on is 138.9 KB. I have verified
+ that the first 128KB may have been written correctly, but then
+ the code above 128KB wraps and overwrites the code at the
+ beginning of FLASH, trashing the FLASH images.
+
+ Bottom line: Still untested.
+
ostest:
This configuration directory, performs a simple OS test using
examples/ostest. By default, this project assumes that you are
diff --git a/nuttx/configs/sam3u-ek/nxwm/defconfig b/nuttx/configs/sam3u-ek/nxwm/defconfig
index aed970cec..086a39925 100644
--- a/nuttx/configs/sam3u-ek/nxwm/defconfig
+++ b/nuttx/configs/sam3u-ek/nxwm/defconfig
@@ -38,29 +38,7 @@ CONFIG_RAW_BINARY=y
#
# Debug Options
#
-CONFIG_DEBUG=y
-CONFIG_DEBUG_VERBOSE=y
-
-#
-# Subsystem Debug Options
-#
-# CONFIG_DEBUG_MM is not set
-# CONFIG_DEBUG_SCHED is not set
-# CONFIG_DEBUG_FS is not set
-# CONFIG_DEBUG_LIB is not set
-# CONFIG_DEBUG_BINFMT is not set
-# CONFIG_DEBUG_GRAPHICS is not set
-
-#
-# Driver Debug Options
-#
-# CONFIG_DEBUG_LCD is not set
-# CONFIG_DEBUG_LEDS is not set
-CONFIG_DEBUG_INPUT=y
-# CONFIG_DEBUG_ANALOG is not set
-# CONFIG_DEBUG_SPI is not set
-# CONFIG_DEBUG_GPIO is not set
-# CONFIG_DEBUG_AUDIO is not set
+# CONFIG_DEBUG is not set
# CONFIG_DEBUG_SYMBOLS is not set
#
@@ -105,7 +83,6 @@ CONFIG_ARCH_CHIP="sam34"
# CONFIG_ARCH_HAVE_FPU is not set
CONFIG_ARCH_HAVE_MPU=y
# CONFIG_ARMV7M_MPU is not set
-# CONFIG_DEBUG_HARDFAULT is not set
#
# ARMV7M Configuration Options
@@ -405,7 +382,6 @@ CONFIG_SERIAL=y
CONFIG_ARCH_HAVE_UART0=y
CONFIG_MCU_SERIAL=y
CONFIG_STANDARD_SERIAL=y
-# CONFIG_SERIAL_TIOCSERGSTRUCT is not set
CONFIG_UART0_SERIAL_CONSOLE=y
# CONFIG_NO_SERIAL_CONSOLE is not set