63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if ARCH_BOARD_STM32F3_DISCOVERY
|
|
|
|
config STM32F3DISCO_QETIMER
|
|
int "Timer to use with QE encoder"
|
|
default 3
|
|
depends on SENSORS_QENCODER
|
|
|
|
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.
|
|
|
|
endif
|