2019-01-04 19:15:05 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_BATTERY
|
|
|
|
tristate "Battery monitor example"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the battery monitor example
|
|
|
|
|
|
|
|
if EXAMPLES_BATTERY
|
|
|
|
|
|
|
|
config EXAMPLES_BATTERY_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "batt"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2019-01-04 19:15:05 +01:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_BATTERY_DEVNAME
|
|
|
|
string "Battery charger device name"
|
|
|
|
default "/dev/batt0"
|
|
|
|
|
|
|
|
config EXAMPLES_BATTERY_PRIORITY
|
|
|
|
int "Battery task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_BATTERY_STACKSIZE
|
|
|
|
int "Battery stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2019-01-04 19:15:05 +01:00
|
|
|
endif
|