diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-04 09:55:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-04 09:55:52 -0600 |
commit | b8f5934117438ac11bbea3fe413243918b3403de (patch) | |
tree | d1accbcb8ffc7b033ca51601fd1ede74ded651db /nuttx/configs/stm3210e-eval/README.txt | |
parent | 4c45e1d61f52b056bd650d3db6b9a4c3acd12130 (diff) | |
download | nuttx-b8f5934117438ac11bbea3fe413243918b3403de.tar.gz nuttx-b8f5934117438ac11bbea3fe413243918b3403de.tar.bz2 nuttx-b8f5934117438ac11bbea3fe413243918b3403de.zip |
configs/stm3210e-eval/pm: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'nuttx/configs/stm3210e-eval/README.txt')
-rw-r--r-- | nuttx/configs/stm3210e-eval/README.txt | 83 |
1 files changed, 50 insertions, 33 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt index c60049555..41846990e 100644 --- a/nuttx/configs/stm3210e-eval/README.txt +++ b/nuttx/configs/stm3210e-eval/README.txt @@ -658,14 +658,14 @@ STM3210E-EVAL-specific Configuration Options portrait" orientation support. In this orientation, the STM3210E-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 + CONFIG_STM3210E_LCD_BACKLIGHT - Define to support a backlight. + CONFIG_STM3210E_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 + determined by CONFIG_LCD_MAXPOWER. If CONFIG_STM3210E_LCD_PWM (or CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight is provided. - CONFIG_LCD_RDSHIFT - When reading 16-bit gram data, there appears + CONFIG_STM3210E_LCD_RDSHIFT - When reading 16-bit gram data, there appears to be a shift in the returned data. This value fixes the offset. Default 5. @@ -673,9 +673,9 @@ STM3210E-EVAL-specific Configuration Options ID value. However, code size can be reduced by suppressing support for individual LCDs using: - CONFIG_STM32_AM240320_DISABLE - CONFIG_STM32_SPFD5408B_DISABLE - CONFIG_STM32_R61580_DISABLE + CONFIG_STM3210E_AM240320_DISABLE + CONFIG_STM3210E_SPFD5408B_DISABLE + CONFIG_STM3210E_R61580_DISABLE Configurations ============== @@ -941,43 +941,60 @@ Where <subdir> is one of the following: configuration should provide some guideline for power management in your STM32 application. - CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows + NOTES: + + 1. This configuration uses the mconf-based configuration tool. To + change this configurations using that tool, you should: + + a. Build and install the kconfig-mconf tool. See nuttx/README.txt + and misc/tools/ + + b. Execute 'make menuconfig' in nuttx/ in order to start the + reconfiguration process. + + 2. Default configuration is Cygwin under windows using the CodeSourcery + toolchain: + + CONFIG_HOST_WINDOWS=y : Windows + CONFIG_WINDOWS_CYGWIN=y : Cygwin + CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows - CONFIG_ARCH_CUSTOM_PMINIT and CONFIG_ARCH_IDLE_CUSTOM are necessary parts of the - PM configuration: + 3. CONFIG_ARCH_CUSTOM_PMINIT and CONFIG_ARCH_IDLE_CUSTOM are necessary + parts of the PM configuration: - CONFIG_ARCH_CUSTOM_PMINIT=y + CONFIG_ARCH_CUSTOM_PMINIT=y - CONFIG_ARCH_CUSTOM_PMINIT moves the PM initialization from arch/arm/src/stm32/stm32_pminitialiaze.c - to configs/stm3210-eval/src/up_pm.c. This allows us to support board- - specific PM initialization. + CONFIG_ARCH_CUSTOM_PMINIT moves the PM initialization from + arch/arm/src/stm32/stm32_pminitialiaze.c to configs/stm3210-eval/src/stm32_pm.c. + This allows us to support board-specific PM initialization. - CONFIG_ARCH_IDLE_CUSTOM=y + CONFIG_ARCH_IDLE_CUSTOM=y - The bulk of the PM activities occur in the IDLE loop. The IDLE loop is - special because it is what runs when there is no other task running. Therefore - when the IDLE executes, we can be assure that nothing else is going on; this - is the ideal condition for doing reduced power management. + The bulk of the PM activities occur in the IDLE loop. The IDLE loop + is special because it is what runs when there is no other task running. + Therefore when the IDLE executes, we can be assure that nothing else + is going on; this is the ideal condition for doing reduced power + management. - The configuration CONFIG_ARCH_IDLE_CUSTOM allows us to "steal" the normal STM32 - IDLE loop (of arch/arm/src/stm32/stm32_idle.c) and replace this with our own - custom IDLE loop (at configs/stm3210-eval/src/up_idle.c). + The configuration CONFIG_ARCH_IDLE_CUSTOM allows us to "steal" the + normal STM32 IDLE loop (of arch/arm/src/stm32/stm32_idle.c) and replace + this with our own custom IDLE loop (at configs/stm3210-eval/src/up_idle.c). - Here are some additional things to note in the configuration: + 4. Here are some additional things to note in the configuration: - CONFIG_PM_BUTTONS=y + CONFIG_PM_BUTTONS=y - CONFIG_PM_BUTTONS enables button support for PM testing. Buttons can drive - EXTI interrupts and EXTI interrrupts can be used to wakeup for certain reduced - power modes (STOP mode). The use of the buttons here is for PM testing purposes - only; buttons would normally be part the application code and CONFIG_PM_BUTTONS - would not be defined. + CONFIG_PM_BUTTONS enables button support for PM testing. Buttons can + drive EXTI interrupts and EXTI interrrupts can be used to wakeup for + certain reduced power modes (STOP mode). The use of the buttons here + is for PM testing purposes only; buttons would normally be part the + application code and CONFIG_PM_BUTTONS would not be defined. - CONFIG_RTC_ALARM=y + CONFIG_RTC_ALARM=y - The RTC alarm is used to wake up from STOP mode and to transition to - STANDBY mode. This used of the RTC alarm could conflict with other uses of - the RTC alarm in your application. + The RTC alarm is used to wake up from STOP mode and to transition to + STANDBY mode. This used of the RTC alarm could conflict with other + uses of the RTC alarm in your application. usbserial: --------- |