2012-04-06 17:58:25 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:58:25 +02:00
|
|
|
#
|
2012-04-19 00:29:50 +02:00
|
|
|
|
|
|
|
if ARCH_BOARD_STM3210E_EVAL
|
|
|
|
comment "STM3210E-EVAL LCD Hardware Configuration"
|
|
|
|
|
|
|
|
config STM3210E_LCD
|
|
|
|
bool "Select support for the STM3210E-EVAL LCD"
|
2014-03-07 18:47:07 +01:00
|
|
|
default n
|
2014-03-04 16:55:52 +01:00
|
|
|
depends on STM32_FSMC
|
|
|
|
select LCD
|
2012-08-20 02:57:14 +02:00
|
|
|
---help---
|
|
|
|
Enable support for the LCD on the STM3210E-EVAL board. See additional,
|
|
|
|
LCD-common settings in the drivers/lcd Kconfig file.
|
2012-04-19 00:29:50 +02:00
|
|
|
|
2014-03-04 16:55:52 +01:00
|
|
|
config STM3210E_LCD_BACKLIGHT
|
2012-04-19 00:29:50 +02:00
|
|
|
bool "LCD backlight support"
|
|
|
|
depends on STM3210E_LCD
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Define to support a backlight.
|
|
|
|
|
2014-03-04 16:55:52 +01:00
|
|
|
config STM3210E_LCD_PWM
|
2012-04-19 00:29:50 +02:00
|
|
|
bool "LCD backlight PWM control"
|
|
|
|
default n
|
2014-03-04 16:55:52 +01:00
|
|
|
depends on STM3210E_LCD_BACKLIGHT && STM32_TIM1
|
2012-04-19 00:29:50 +02:00
|
|
|
---help---
|
|
|
|
If STM32_TIM1 is also defined, then an adjustable backlight will be
|
|
|
|
provided using timer 1 to generate various pulse widthes. The
|
2014-03-04 16:55:52 +01:00
|
|
|
granularity of the settings is determined by LCD_MAXPOWER. If STM3210E_LCD_PWM
|
2012-04-19 00:29:50 +02:00
|
|
|
(or STM32_TIM1) is not defined, then a simple on/off backlight is
|
|
|
|
provided.
|
|
|
|
|
2014-03-04 16:55:52 +01:00
|
|
|
config STM3210E_LCD_RDSHIFT
|
2012-04-20 00:51:42 +02:00
|
|
|
int "LCD data shift"
|
2012-04-19 00:29:50 +02:00
|
|
|
default 5
|
|
|
|
depends on STM3210E_LCD
|
|
|
|
---help---
|
|
|
|
When reading 16-bit gram data, there appears to be a shift in the returned
|
|
|
|
data. This value fixes the offset. Default 5.
|
|
|
|
|
2014-03-04 16:55:52 +01:00
|
|
|
config STM3210E_AM240320_DISABLE
|
2012-04-19 00:29:50 +02:00
|
|
|
bool "Disable AM240320 support"
|
|
|
|
default n
|
|
|
|
depends on STM3210E_LCD
|
|
|
|
---help---
|
|
|
|
The LCD driver dynamically selects the LCD based on the reported LCD
|
|
|
|
ID value. However, code size can be reduced by suppressing support for
|
|
|
|
individual LCDs using this option
|
|
|
|
|
2014-03-04 16:55:52 +01:00
|
|
|
config STM3210E_SPFD5408B_DISABLE
|
2012-04-19 00:29:50 +02:00
|
|
|
bool "Disable SPFD5408B support"
|
|
|
|
default n
|
|
|
|
depends on STM3210E_LCD
|
|
|
|
---help---
|
|
|
|
The LCD driver dynamically selects the LCD based on the reported LCD
|
|
|
|
ID value. However, code size can be reduced by suppressing support for
|
|
|
|
individual LCDs using this option
|
|
|
|
|
2014-03-04 16:55:52 +01:00
|
|
|
config STM3210E_R61580_DISABLE
|
2012-04-19 00:29:50 +02:00
|
|
|
bool "Disable R61580 support"
|
|
|
|
default n
|
|
|
|
depends on STM3210E_LCD
|
|
|
|
---help---
|
|
|
|
The LCD driver dynamically selects the LCD based on the reported LCD
|
|
|
|
ID value. However, code size can be reduced by suppressing support for
|
|
|
|
individual LCDs using this option
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-07-29 20:30:48 +02:00
|
|
|
config PM_BUTTONS
|
|
|
|
bool "PM Button support"
|
|
|
|
default n
|
|
|
|
depends on PM && ARCH_IRQBUTTONS
|
|
|
|
---help---
|
|
|
|
Enable PM button EXTI interrupts to support PM testing
|
|
|
|
|
|
|
|
config PM_BUTTONS_MIN
|
|
|
|
int "Minimum button number"
|
|
|
|
default 0
|
|
|
|
depends on PM_BUTTONS
|
|
|
|
---help---
|
|
|
|
The lowest button code to use for PM testing (see board.h)
|
2012-04-19 00:29:50 +02:00
|
|
|
|
2012-07-29 20:30:48 +02:00
|
|
|
config PM_BUTTONS_MAX
|
|
|
|
int "Maximum button number"
|
|
|
|
default 7
|
|
|
|
depends on PM_BUTTONS
|
|
|
|
---help---
|
|
|
|
The highest button code to use for PM testing (see board.h)
|
|
|
|
|
|
|
|
config PM_IRQBUTTONS_MIN
|
|
|
|
int "Minimum interrupting button number"
|
|
|
|
default 0
|
|
|
|
depends on PM_BUTTONS
|
|
|
|
---help---
|
|
|
|
The lowest interrupting button code to use for PM testing (see board.h)
|
|
|
|
|
|
|
|
config PM_IRQBUTTONS_MAX
|
|
|
|
int "Maximum interrupting button number"
|
|
|
|
default 7
|
|
|
|
depends on PM_BUTTONS
|
|
|
|
---help---
|
|
|
|
The highest interrupting button code to use for PM testing (see board.h)
|
|
|
|
|
|
|
|
config PM_BUTTON_ACTIVITY
|
|
|
|
int "Button PM activity weight"
|
|
|
|
default 10
|
|
|
|
depends on PM_BUTTONS
|
|
|
|
---help---
|
|
|
|
The activity weight to report to the power management subsystem when a button is pressed.
|
|
|
|
|
|
|
|
config PM_ALARM_SEC
|
|
|
|
int "PM_STANDBY delay (seconds)"
|
|
|
|
default 15
|
|
|
|
depends on PM && RTC_ALARM
|
2013-04-21 01:37:32 +02:00
|
|
|
---help---
|
2012-07-29 20:30:48 +02:00
|
|
|
Number of seconds to wait in PM_STANDBY before going to PM_STANDBY mode.
|
|
|
|
|
|
|
|
config PM_ALARM_NSEC
|
|
|
|
int "PM_STANDBY delay (nanoseconds)"
|
|
|
|
default 0
|
|
|
|
depends on PM && RTC_ALARM
|
2013-04-21 01:37:32 +02:00
|
|
|
---help---
|
2012-07-29 20:30:48 +02:00
|
|
|
Number of additional nanoseconds to wait in PM_STANDBY before going to PM_STANDBY mode.
|
|
|
|
|
|
|
|
config PM_SLEEP_WAKEUP
|
|
|
|
bool "PM_SLEEP wake-up alarm"
|
|
|
|
default n
|
|
|
|
depends on PM && RTC_ALARM
|
2013-04-21 01:37:32 +02:00
|
|
|
---help---
|
2012-07-29 20:30:48 +02:00
|
|
|
Wake-up of PM_SLEEP mode after a delay and resume normal operation.
|
|
|
|
|
|
|
|
config PM_SLEEP_WAKEUP_SEC
|
|
|
|
int "PM_SLEEP delay (seconds)"
|
|
|
|
default 10
|
|
|
|
depends on PM && RTC_ALARM
|
2013-04-21 01:37:32 +02:00
|
|
|
---help---
|
2012-07-29 20:30:48 +02:00
|
|
|
Number of seconds to wait in PM_SLEEP before going to PM_STANDBY mode.
|
|
|
|
|
|
|
|
config PM_SLEEP_WAKEUP_NSEC
|
|
|
|
int "PM_SLEEP delay (nanoseconds)"
|
|
|
|
default 0
|
|
|
|
depends on PM && RTC_ALARM
|
2013-04-21 01:37:32 +02:00
|
|
|
---help---
|
2012-07-29 20:30:48 +02:00
|
|
|
Number of additional nanoseconds to wait in PM_SLEEP before going to PM_STANDBY mode.
|