forked from Archive/PX4-Autopilot
More Kconfig stuff
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4633 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
42c322f824
commit
8d4b4631f4
|
@ -112,6 +112,48 @@ config ARCH
|
|||
default "stm32" if ARCH_CHIP_STM32
|
||||
default "str71x" if ARCH_CHIP_STR71X
|
||||
|
||||
config ARCH_STACKDUMP
|
||||
bool "Dump stack on assertions"
|
||||
default n
|
||||
---help---
|
||||
Enable to do stack dumps after assertions
|
||||
|
||||
config ARCH_LEDS
|
||||
bool "Use board LEDs to show state"
|
||||
default y
|
||||
---help---
|
||||
Use LEDs to show state. Unique to boards that have LEDs
|
||||
|
||||
config ARCH_INTERRUPTSTACK
|
||||
bool "Use interrupt stack"
|
||||
default y
|
||||
---help---
|
||||
This architecture supports an interrupt stack. If defined, this symbol
|
||||
is the size of the interrupt stack in bytes. If not defined, the user
|
||||
task stacks will be used during interrupt handling.
|
||||
|
||||
config ARCH_IRQPRIO
|
||||
bool "Interrupt priority"
|
||||
default y if ARCH_CORTEXM
|
||||
---help---
|
||||
Select if your board supports interrupt prioritization.
|
||||
|
||||
config ARCH_LOOPSPERMSEC
|
||||
int "Delay loops per millisecond"
|
||||
default 5000
|
||||
---help---
|
||||
Delay loops nust be calibrated for correct operation.
|
||||
|
||||
config ARCH_CALIBRATION
|
||||
bool "Calibrate delay loop"
|
||||
default n
|
||||
---help---
|
||||
Enables some built in instrumentation that causes a 100 second delay
|
||||
during boot-up. This 100 second delay serves no purpose other than it
|
||||
allows you to calibratre ARCH_LOOPSPERMSEC. You simply use a stop
|
||||
watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
|
||||
the delay actually is 100 seconds.
|
||||
|
||||
source arch/arm/src/c5471/Kconfig
|
||||
source arch/arm/src/calypso/Kconfig
|
||||
source arch/arm/src/dm320/Kconfig
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,3 +2,95 @@
|
|||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_BOARD_STM3210E_EVAL
|
||||
comment "STM3210E-EVAL LCD Hardware Configuration"
|
||||
|
||||
config STM3210E_LCD
|
||||
bool "Select support for the STM3210E-EVAL LCD"
|
||||
default y
|
||||
depends on STM32_FSMC
|
||||
|
||||
choice
|
||||
prompt "STM3210E-EVAL LCD Orientation"
|
||||
default LCD_LANDSCAPE
|
||||
depends on STM3210E_LCD
|
||||
|
||||
config LCD_LANDSCAPE
|
||||
bool "320x240 landscape display"
|
||||
---help---
|
||||
Define for 320x240 display "landscape" support. Default is this 320x240
|
||||
"landscape" orientation (this setting is informative only... not used).
|
||||
|
||||
config LCD_PORTRAIT
|
||||
bool "240x320 portrait display"
|
||||
---help---
|
||||
Define for 240x320 display "portrait" orientation support. In this
|
||||
orientation, the STM3210E-EVAL's LCD ribbon cable is at the bottom of
|
||||
the display. Default is 320x240 "landscape" orientation.
|
||||
|
||||
config LCD_RPORTRAIT
|
||||
bool "240x320 reverse portrait display"
|
||||
---help---
|
||||
Define for 240x320 display "reverse 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.
|
||||
|
||||
endchoice
|
||||
|
||||
config LCD_BACKLIGHT
|
||||
bool "LCD backlight support"
|
||||
depends on STM3210E_LCD
|
||||
default n
|
||||
---help---
|
||||
Define to support a backlight.
|
||||
|
||||
config LCD_PWM
|
||||
bool "LCD backlight PWM control"
|
||||
default n
|
||||
depends on LCD_BACKLIGHT && STM32_TIM1
|
||||
---help---
|
||||
If 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 LCD_MAXPOWER. If LCD_PWM
|
||||
(or STM32_TIM1) is not defined, then a simple on/off backlight is
|
||||
provided.
|
||||
|
||||
config LCD_RDSHIFT
|
||||
int "LCD data shift
|
||||
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.
|
||||
|
||||
config STM32_AM240320_DISABLE
|
||||
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
|
||||
|
||||
config STM32_SPFD5408B_DISABLE
|
||||
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
|
||||
|
||||
config STM32_R61580_DISABLE
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue