summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/nsh2
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-28 19:48:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-28 19:48:26 +0000
commit2def040cb811a71cf5e59effb304c47897640b5a (patch)
treed5af02e86fca6db39ff126655f20eb43ccacb13e /nuttx/configs/stm3220g-eval/nsh2
parentf01a56f6ca729b143cb2a65c108fac534bc76f10 (diff)
downloadpx4-nuttx-2def040cb811a71cf5e59effb304c47897640b5a.tar.gz
px4-nuttx-2def040cb811a71cf5e59effb304c47897640b5a.tar.bz2
px4-nuttx-2def040cb811a71cf5e59effb304c47897640b5a.zip
Bring STM3220G-EVAL board configurations to same level as STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4779 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3220g-eval/nsh2')
-rw-r--r--nuttx/configs/stm3220g-eval/nsh2/appconfig4
-rw-r--r--nuttx/configs/stm3220g-eval/nsh2/defconfig12
-rw-r--r--nuttx/configs/stm3220g-eval/nsh2/ld.script3
-rwxr-xr-xnuttx/configs/stm3220g-eval/nsh2/setenv.sh2
4 files changed, 7 insertions, 14 deletions
diff --git a/nuttx/configs/stm3220g-eval/nsh2/appconfig b/nuttx/configs/stm3220g-eval/nsh2/appconfig
index 6a13d0b27..35d687884 100644
--- a/nuttx/configs/stm3220g-eval/nsh2/appconfig
+++ b/nuttx/configs/stm3220g-eval/nsh2/appconfig
@@ -76,6 +76,10 @@ ifeq ($(CONFIG_I2C),y)
CONFIGURED_APPS += system/i2c
endif
+ifeq ($(CONFIG_WATCHDOG),y)
+CONFIGURED_APPS += examples/watchdog
+endif
+
# Uncomment examples/ftpc to include the FTP client example
# Uncomment examples/ftpd to include the FTP daemon example
diff --git a/nuttx/configs/stm3220g-eval/nsh2/defconfig b/nuttx/configs/stm3220g-eval/nsh2/defconfig
index 10457b077..7f5a7fd87 100644
--- a/nuttx/configs/stm3220g-eval/nsh2/defconfig
+++ b/nuttx/configs/stm3220g-eval/nsh2/defconfig
@@ -65,7 +65,7 @@
# CONFIG_ARCH_CALIBRATION - Enables some build in instrumentation that
# cause a 100 second delay during boot-up. This 100 second delay
# serves no purpose other than it allows you to calibrate
-# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure
+# CONFIG_BOARD_LOOPSPERMSEC. You simply use a stop watch to measure
# the 100 second delay then adjust CONFIG_BOARD_LOOPSPERMSEC until
# the delay actually is 100 seconds.
# CONFIG_ARCH_DMA - Support DMA initialization
@@ -119,15 +119,6 @@ CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n
CONFIG_STM32_JTAG_SW_ENABLE=n
#
-# On-chip CCM SRAM configuration
-#
-# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need
-# to do this if DMA is enabled to prevent non-DMA-able CCM memory from
-# being a part of the stack.
-#
-CONFIG_STM32_CCMEXCLUDE=y
-
-#
# On-board FSMC SRAM configuration
#
# CONFIG_STM32_FSMC - Required. See below
@@ -149,7 +140,6 @@ CONFIG_HEAP2_END=(0x64000000+(2*1024*1024))
# AHB1:
CONFIG_STM32_CRC=n
CONFIG_STM32_BKPSRAM=n
-CONFIG_STM32_CCMDATARAM=n
CONFIG_STM32_DMA1=n
CONFIG_STM32_DMA2=y
CONFIG_STM32_ETHMAC=y
diff --git a/nuttx/configs/stm3220g-eval/nsh2/ld.script b/nuttx/configs/stm3220g-eval/nsh2/ld.script
index f01dc2b83..e03a33dcb 100644
--- a/nuttx/configs/stm3220g-eval/nsh2/ld.script
+++ b/nuttx/configs/stm3220g-eval/nsh2/ld.script
@@ -34,11 +34,10 @@
****************************************************************************/
/* The STM32F207IGH6U has 1024Kb of FLASH beginning at address 0x0800:0000 and
- * 192Kb of SRAM. SRAM is split up into three blocks:
+ * 128Kb of SRAM. SRAM is split up into two blocks:
*
* 1) 112Kb of SRAM beginning at address 0x2000:0000
* 2) 16Kb of SRAM beginning at address 0x2001:c000
- * 3) 64Kb of CCM SRAM beginning at address 0x1000:0000
*
* When booting from FLASH, FLASH memory is aliased to address 0x0000:0000
* where the code expects to begin execution by jumping to the entry point in
diff --git a/nuttx/configs/stm3220g-eval/nsh2/setenv.sh b/nuttx/configs/stm3220g-eval/nsh2/setenv.sh
index 1dc69bf42..5b6405fae 100755
--- a/nuttx/configs/stm3220g-eval/nsh2/setenv.sh
+++ b/nuttx/configs/stm3220g-eval/nsh2/setenv.sh
@@ -68,7 +68,7 @@ fi
# toolchain.
export TOOLCHAIN_BIN="${WD}/../buildroot/build_arm_nofpu/staging_dir/bin"
-# Add the path to the toolchain to the PATH varialble
+# Add the path to the toolchain to the PATH variable
export PATH="${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
echo "PATH : ${PATH}"