2019-11-04 14:29:02 +01:00
|
|
|
|
|
|
|
config EXAMPLES_CHARGER
|
|
|
|
bool "Battery charger example"
|
|
|
|
default n
|
|
|
|
---help---
|
2020-02-23 05:51:44 +01:00
|
|
|
This application is an example of using charger device.
|
2019-11-04 14:29:02 +01:00
|
|
|
|
|
|
|
if EXAMPLES_CHARGER
|
|
|
|
|
|
|
|
config EXAMPLES_CHARGER_DEVNAME
|
|
|
|
string "Charger device name"
|
|
|
|
default "/dev/bat"
|
|
|
|
---help---
|
|
|
|
Set create charger device name.
|
|
|
|
|
|
|
|
config EXAMPLES_CHARGER_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "charger"
|
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_CHARGER_PRIORITY
|
|
|
|
int "charger task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_CHARGER_STACKSIZE
|
|
|
|
int "charger stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2019-11-04 14:29:02 +01:00
|
|
|
|
|
|
|
endif
|