2013-11-07 23:55:45 +01: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.
|
2013-11-07 23:55:45 +01:00
|
|
|
#
|
|
|
|
|
2013-11-28 15:21:15 +01:00
|
|
|
if ARCH_BOARD_STM32F429I_DISCO
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_FLASH
|
|
|
|
bool "MTD driver for external 8Mbyte SST25 FLASH on SPI4"
|
|
|
|
default n
|
|
|
|
select MTD
|
|
|
|
select MTD_SST25XX
|
|
|
|
select MTD_SMART
|
|
|
|
select FS_SMARTFS
|
|
|
|
select STM32_SPI4
|
|
|
|
select MTD_BYTE_WRITE
|
|
|
|
---help---
|
|
|
|
Configures an MTD device for use with the onboard flash
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_FLASH_MINOR
|
|
|
|
int "Minor number for the FLASH /dev/smart entry"
|
|
|
|
default 0
|
|
|
|
depends on STM32F429I_DISCO_FLASH
|
|
|
|
---help---
|
|
|
|
Sets the minor number for the FLASH MTD /dev entry
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_FLASH_PART
|
|
|
|
bool "Enable partition support on FLASH"
|
|
|
|
default n
|
|
|
|
depends on STM32F429I_DISCO_FLASH
|
|
|
|
---help---
|
|
|
|
Enables creation of partitions on the FLASH
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_FLASH_CONFIG_PART
|
|
|
|
bool "Create application config data partition on FLASH"
|
|
|
|
default y
|
|
|
|
depends on STM32F429I_DISCO_FLASH_PART
|
|
|
|
depends on PLATFORM_CONFIGDATA
|
|
|
|
---help---
|
|
|
|
Enables creation of a /dev/config partition on the FLASH
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_FLASH_CONFIG_PART_NUMBER
|
|
|
|
int "Index number of config partition (in list below)"
|
|
|
|
default 0
|
|
|
|
depends on STM32F429I_DISCO_FLASH_CONFIG_PART
|
|
|
|
---help---
|
|
|
|
Specifies the index number of the config data partition
|
|
|
|
from the partition list.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_FLASH_PART_LIST
|
|
|
|
string "Flash partition size list"
|
|
|
|
default "4,8188"
|
|
|
|
depends on STM32F429I_DISCO_FLASH_PART
|
|
|
|
---help---
|
|
|
|
Comma separated list of partition sizes in KB.
|
|
|
|
|
2013-12-12 16:23:54 +01:00
|
|
|
config STM32F429I_DISCO_FLASH_PART_NAMES
|
|
|
|
string "Flash partition name list"
|
|
|
|
default "config,rfs"
|
|
|
|
depends on STM32F429I_DISCO_FLASH_PART
|
|
|
|
depends on MTD_PARTITION_NAMES
|
|
|
|
---help---
|
|
|
|
Comma separated list of partition names.
|
|
|
|
|
2013-11-28 15:21:15 +01:00
|
|
|
config STM32F429I_DISCO_RAMMTD
|
|
|
|
bool "MTD driver for SMARTFS RAM disk"
|
|
|
|
default n
|
|
|
|
select MTD
|
|
|
|
select RAMMTD
|
|
|
|
---help---
|
|
|
|
Configures an MTD based RAM device for use with SMARTFS.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_RAMMTD_MINOR
|
|
|
|
int "Minor number for RAM /dev/smart entry"
|
|
|
|
default 1
|
|
|
|
depends on STM32F429I_DISCO_RAMMTD
|
|
|
|
---help---
|
|
|
|
Sets the minor number for the RAM MTD /dev entry
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_RAMMTD_SIZE
|
|
|
|
int "Size in KB of the RAM device to create"
|
|
|
|
default 32
|
|
|
|
depends on STM32F429I_DISCO_RAMMTD
|
|
|
|
---help---
|
|
|
|
Sets the size of static RAM allocation for the SMART RAM device
|
2013-11-07 23:55:45 +01:00
|
|
|
|
2015-04-30 21:01:29 +02:00
|
|
|
config STM32F429IDISCO_USBHOST_STACKSIZE
|
|
|
|
int "USB host waiter stack size"
|
|
|
|
default 1024
|
|
|
|
depends on USBHOST
|
|
|
|
|
|
|
|
config STM32F429IDISCO_USBHOST_PRIO
|
|
|
|
int "USB host waiter task priority"
|
|
|
|
default 100
|
|
|
|
depends on USBHOST
|
|
|
|
|
2013-11-07 23:55:45 +01: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_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
|
|
|
|
---help---
|
|
|
|
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
|
|
|
|
---help---
|
|
|
|
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
|
|
|
|
---help---
|
|
|
|
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
|
|
|
|
---help---
|
|
|
|
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
|
|
|
|
---help---
|
|
|
|
Number of additional nanoseconds to wait in PM_SLEEP before going to PM_STANDBY mode.
|
|
|
|
|
2015-04-17 15:38:33 +02:00
|
|
|
menuconfig STM32F429I_DISCO_ILI9341
|
2014-10-20 23:24:24 +02:00
|
|
|
bool "LCD driver for ILI9341 Liquid Crystal Display Controller"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables support for a connected display based on ili9341 LCD Single Chip
|
|
|
|
Driver. This sub driver supports only communication with the display driver
|
|
|
|
connected via 4-wire serial (spi) mcu interface.
|
|
|
|
|
2015-04-17 15:04:53 +02:00
|
|
|
if STM32F429I_DISCO_ILI9341
|
2014-10-20 23:24:24 +02:00
|
|
|
|
2015-04-17 15:04:53 +02:00
|
|
|
choice
|
|
|
|
prompt "LCD Interface Type"
|
|
|
|
default STM32F429I_DISCO_ILI9341_NONE if !LCD_ILI9341 && !STM32_LTDC
|
|
|
|
default STM32F429I_DISCO_ILI9341_LCDIFACE if LCD_ILI9341 && !STM32_LTDC
|
|
|
|
default STM32F429I_DISCO_ILI9341_FBIFACE if STM32_LTDC
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_NONE
|
|
|
|
bool "No LCD interface"
|
2014-10-20 23:24:24 +02:00
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_LCDIFACE
|
2015-04-17 15:04:53 +02:00
|
|
|
bool "Enable support for nuttx LCD interface"
|
|
|
|
depends on LCD_ILI9341
|
2014-10-20 23:24:24 +02:00
|
|
|
---help---
|
|
|
|
Enable lcd driver support for the nuttx lcd interface.
|
|
|
|
|
2015-04-17 15:04:53 +02:00
|
|
|
config STM32F429I_DISCO_ILI9341_FBIFACE
|
|
|
|
bool "Enable support for nuttx framebuffer interface"
|
|
|
|
depends on STM32_LTDC
|
|
|
|
---help---
|
|
|
|
Enable lcd driver support for the nuttx framebuffer interface to displaying
|
|
|
|
data via ltdc controller of the stm32f429i mcu.
|
|
|
|
|
|
|
|
endchoice # LCD Interface Type
|
|
|
|
|
|
|
|
if STM32F429I_DISCO_ILI9341_LCDIFACE
|
|
|
|
|
2014-10-20 23:24:24 +02:00
|
|
|
config STM32F429I_DISCO_ILI9341_LCDDEVICE
|
|
|
|
int "LCD interface"
|
|
|
|
default 0
|
|
|
|
range 0 1
|
|
|
|
depends on STM32F429I_DISCO_ILI9341_LCDIFACE
|
|
|
|
---help---
|
|
|
|
Define the lcd interface which should be used. This must be
|
2015-04-17 15:04:53 +02:00
|
|
|
corresponding to the configured ili9341 LCD device in the driver
|
2014-10-20 23:24:24 +02:00
|
|
|
section.
|
|
|
|
|
2015-04-17 15:04:53 +02:00
|
|
|
config STM32F429I_DISCO_ILI9341_SPIFREQUENCY
|
|
|
|
int "SPI frequency"
|
|
|
|
default 12000000
|
|
|
|
---help---
|
|
|
|
Define the bus frequency of the SPI device.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_SPIBITS16
|
|
|
|
bool "Enable 16 bit pixel read/write"
|
2014-12-19 21:02:26 +01:00
|
|
|
default n
|
|
|
|
---help---
|
2015-04-17 15:04:53 +02:00
|
|
|
This enables faster 16-bit SPI mode for transmitting or receiving pixel data
|
|
|
|
to or from the display gram. But uses default 8-bit SPI mode for all other
|
|
|
|
display operations.
|
|
|
|
|
|
|
|
endif # STM32F429I_DISCO_ILI9341_LCDIFACE
|
2014-12-19 21:02:26 +01:00
|
|
|
|
|
|
|
if STM32F429I_DISCO_ILI9341_FBIFACE
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "LCD Orientation"
|
|
|
|
default STM32F429I_DISCO_ILI9341_FBIFACE_PORTRAIT
|
|
|
|
---help---
|
|
|
|
Configure display orientation.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_FBIFACE_LANDSCAPE
|
|
|
|
bool "Landscape orientation"
|
|
|
|
---help---
|
|
|
|
Define for "landscape" orientation support.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_FBIFACE_PORTRAIT
|
|
|
|
bool "Portrait orientation"
|
|
|
|
---help---
|
|
|
|
Define for "portrait" orientation support.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_FBIFACE_RLANDSCAPE
|
|
|
|
bool "Reverse landscape orientation"
|
|
|
|
---help---
|
|
|
|
Define for "reverse landscape" orientation support.
|
|
|
|
|
|
|
|
config STM32F429I_DISCO_ILI9341_FBIFACE_RORTRAIT
|
|
|
|
bool "Reverse portrait display"
|
|
|
|
---help---
|
|
|
|
Define for "reverse portrait" orientation support.
|
|
|
|
|
|
|
|
endchoice
|
2015-04-17 15:04:53 +02:00
|
|
|
|
|
|
|
endif # STM32F429I_DISCO_ILI9341_FBIFACE
|
|
|
|
endif # STM32F429I_DISCO_ILI9341
|
2018-11-24 00:33:45 +01:00
|
|
|
|
|
|
|
config STM32F429I_DISCO_HIGHPRI
|
2019-10-06 05:39:12 +02:00
|
|
|
bool "High priority interrupt test"
|
|
|
|
default n
|
2018-11-24 00:33:45 +01:00
|
|
|
|
2015-04-17 15:04:53 +02:00
|
|
|
endif # ARCH_BOARD_STM32F429I_DISCO
|