summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/ostest
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/ostest
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/ostest')
-rw-r--r--nuttx/configs/stm3220g-eval/ostest/defconfig35
-rw-r--r--nuttx/configs/stm3220g-eval/ostest/ld.script4
-rwxr-xr-xnuttx/configs/stm3220g-eval/ostest/setenv.sh2
3 files changed, 13 insertions, 28 deletions
diff --git a/nuttx/configs/stm3220g-eval/ostest/defconfig b/nuttx/configs/stm3220g-eval/ostest/defconfig
index ba86a5488..184ca9e52 100644
--- a/nuttx/configs/stm3220g-eval/ostest/defconfig
+++ b/nuttx/configs/stm3220g-eval/ostest/defconfig
@@ -64,7 +64,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
@@ -118,15 +118,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
@@ -148,7 +139,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=n
CONFIG_STM32_ETHMAC=n
@@ -1106,7 +1096,9 @@ CONFIG_NXWIDGETS_DEFAULT_FONTID=5
#
# CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape"
# support. Default is this 320x240 "landscape" orientation
-# (this setting is informative only... not used).
+# CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse
+# landscape" support. Default is this 320x240 "landscape"
+# orientation
# CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait"
# orientation support. In this orientation, the PT3's
# LCD ribbon cable is at the bottom of the display. Default is
@@ -1115,22 +1107,17 @@ CONFIG_NXWIDGETS_DEFAULT_FONTID=5
# portrait" orientation support. In this orientation, the
# STM3220G-EVAL's LCD ribbon cable is at the top of the display.
# Default is 320x240 "landscape" orientation.
-# CONFIG_LCD_BACKLIGHT - Define to support a backlight.
-# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an
-# adjustable backlight will be provided using timer 1 to generate
-# various pulse widthes. The granularity of the settings is
-# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or
-# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight
-# is provided.
#
CONFIG_LCD_LANDSCAPE=n
+CONFIG_LCD_RLANDSCAPE=n
CONFIG_LCD_PORTRAIT=n
CONFIG_LCD_RPORTRAIT=y
-CONFIG_LCD_BACKLIGHT=y
-CONFIG_LCD_PWM=n
-CONFIG_STM32_AM240320_DISABLE=y
-CONFIG_STM32_SPFD5408B_DISABLE=n
-CONFIG_STM32_R61580_DISABLE=n
+
+#
+# STM3220G-EVAL specific LCD settings
+#
+CONFIG_STM32_ILI9320_DISABLE=n
+CONFIG_STM32_ILI9325_DISABLE=n
#
# Settings for examples/uip
diff --git a/nuttx/configs/stm3220g-eval/ostest/ld.script b/nuttx/configs/stm3220g-eval/ostest/ld.script
index 46681c4c4..17428ea85 100644
--- a/nuttx/configs/stm3220g-eval/ostest/ld.script
+++ b/nuttx/configs/stm3220g-eval/ostest/ld.script
@@ -33,12 +33,10 @@
*
****************************************************************************/
-/* The STM32F207IGH6U has 1024Kb of FLASH beginning at address 0x0800:0000 and
- * 192Kb of SRAM. SRAM is split up into three blocks:
+/* The STM32F207IGH6U has 1024Kb of FLASH 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/ostest/setenv.sh b/nuttx/configs/stm3220g-eval/ostest/setenv.sh
index c408a0b7c..2b8e7daa7 100755
--- a/nuttx/configs/stm3220g-eval/ostest/setenv.sh
+++ b/nuttx/configs/stm3220g-eval/ostest/setenv.sh
@@ -69,7 +69,7 @@ export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++
# toolchain.
#export TOOLCHAIN_BIN="${WD}/../misc/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}"