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-23 21:55:32 +02:00
|
|
|
|
|
|
|
if ARCH_BOARD_STM32F4_DISCOVERY
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2014-09-13 15:28:14 +02:00
|
|
|
config STM32F4DISBB
|
|
|
|
bool "STM32F4DIS-BB base board"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select if you are using the STM32F4DIS-BB base board with the
|
|
|
|
STM32F4Discovery.
|
|
|
|
|
2017-09-28 11:36:40 +02:00
|
|
|
config STM32_ROMFS
|
|
|
|
bool "Automount baked-in ROMFS image"
|
|
|
|
default n
|
|
|
|
depends on FS_ROMFS
|
|
|
|
---help---
|
|
|
|
Select STM32_ROMFS_IMAGEFILE, STM32_ROMFS_DEV_MINOR, STM32_ROMFS_MOUNTPOINT
|
|
|
|
|
|
|
|
config STM32_ROMFS_DEV_MINOR
|
|
|
|
int "Minor for the block device backing the data"
|
|
|
|
depends on STM32_ROMFS
|
|
|
|
default 64
|
|
|
|
|
|
|
|
config STM32_ROMFS_MOUNTPOINT
|
|
|
|
string "Mountpoint of the custom romfs image"
|
|
|
|
depends on STM32_ROMFS
|
|
|
|
default "/rom"
|
|
|
|
|
|
|
|
config STM32_ROMFS_IMAGEFILE
|
|
|
|
string "ROMFS image file to include into build"
|
|
|
|
depends on STM32_ROMFS
|
|
|
|
default "../../../rom.img"
|
|
|
|
|
2015-04-30 21:02:38 +02:00
|
|
|
config STM32F4DISCO_USBHOST_STACKSIZE
|
2015-04-30 19:26:35 +02:00
|
|
|
int "USB host waiter stack size"
|
|
|
|
default 1024
|
|
|
|
depends on USBHOST
|
|
|
|
|
2015-04-30 21:02:38 +02:00
|
|
|
config STM32F4DISCO_USBHOST_PRIO
|
|
|
|
int "USB host waiter task priority"
|
|
|
|
default 100
|
|
|
|
depends on USBHOST
|
|
|
|
|
2016-11-22 13:41:46 +01:00
|
|
|
config STM32F4DISCO_QETIMER
|
|
|
|
int "Timer to use with QE encoder"
|
2017-02-24 14:04:58 +01:00
|
|
|
default 2
|
2017-11-26 01:46:12 +01:00
|
|
|
depends on SENSORS_QENCODER
|
2016-11-22 13:41:46 +01:00
|
|
|
|
2017-09-14 20:03:28 +02:00
|
|
|
config STM32F4DISCO_LIS3DSH
|
2017-09-14 22:55:50 +02:00
|
|
|
bool "Enable LIS3DSH driver for the IMU on STM32F4Discovery (rev. MB997C)"
|
|
|
|
default n
|
|
|
|
depends on SPI
|
|
|
|
depends on LIS3DSH
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select to create a LIS3DSH driver instance for the builtin accelerometer of
|
|
|
|
STM32F4Discovery. Provides /dev/acc0 device file.
|
|
|
|
Also see apps/examples/lis3dsh_reader.
|
|
|
|
The LIS3DSH is available on the STM32F4Discovery rev. MB997C (see the board manual).
|
2017-09-14 20:03:28 +02:00
|
|
|
|
2012-07-29 20:30:48 +02:00
|
|
|
config PM_BUTTONS
|
2014-09-13 15:28:14 +02:00
|
|
|
bool "PM button support"
|
2012-07-29 20:30:48 +02:00
|
|
|
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---
|
2014-09-13 15:28:14 +02:00
|
|
|
The activity weight to report to the power management subsystem when
|
|
|
|
a button is pressed.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
|
|
|
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---
|
2014-09-13 15:28:14 +02:00
|
|
|
Number of seconds to wait in PM_STANDBY before going to PM_STANDBY
|
|
|
|
mode.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
|
|
|
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---
|
2014-09-13 15:28:14 +02:00
|
|
|
Number of additional nanoseconds to wait in PM_STANDBY before going
|
|
|
|
to PM_STANDBY mode.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
|
|
|
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---
|
2014-09-13 15:28:14 +02:00
|
|
|
Number of additional nanoseconds to wait in PM_SLEEP before going to
|
|
|
|
PM_STANDBY mode.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-23 21:55:32 +02:00
|
|
|
endif
|