From 2def040cb811a71cf5e59effb304c47897640b5a Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 28 May 2012 19:48:26 +0000 Subject: 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 --- nuttx/configs/stm3220g-eval/ostest/defconfig | 35 +++++++++------------------- nuttx/configs/stm3220g-eval/ostest/ld.script | 4 +--- nuttx/configs/stm3220g-eval/ostest/setenv.sh | 2 +- 3 files changed, 13 insertions(+), 28 deletions(-) (limited to 'nuttx/configs/stm3220g-eval/ostest') 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 @@ -117,15 +117,6 @@ CONFIG_STM32_JTAG_FULL_ENABLE=y 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 # @@ -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}" -- cgit v1.2.3