2016-04-03 17:19:19 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_ALARM
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "RTC alarm driver example"
|
2016-04-03 17:19:19 +02:00
|
|
|
default n
|
|
|
|
depends on RTC_DRIVER && RTC_ALARM
|
|
|
|
---help---
|
|
|
|
Enable the RTC driver alarm test
|
|
|
|
|
|
|
|
if EXAMPLES_ALARM
|
|
|
|
|
|
|
|
config EXAMPLES_ALARM_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "alarm"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2016-04-03 17:19:19 +02:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_ALARM_PRIORITY
|
|
|
|
int "Alarm task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_ALARM_STACKSIZE
|
|
|
|
int "Alarm stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2016-04-03 17:19:19 +02:00
|
|
|
|
|
|
|
config EXAMPLES_ALARM_DEVPATH
|
|
|
|
string "RTC device path"
|
|
|
|
default "/dev/rtc0"
|
|
|
|
|
|
|
|
config EXAMPLES_ALARM_SIGNO
|
|
|
|
int "Alarm signal"
|
2023-03-25 00:07:59 +01:00
|
|
|
default 32
|
2016-04-03 17:19:19 +02:00
|
|
|
|
|
|
|
endif # EXAMPLES_ALARM
|