2017-10-08 19:31:41 +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_POWERLED
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Powerled example"
|
2017-10-08 19:31:41 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the powerled driver example
|
|
|
|
|
|
|
|
if EXAMPLES_POWERLED
|
|
|
|
|
|
|
|
config EXAMPLES_POWERLED_DEVPATH
|
|
|
|
string "Powerled device path"
|
|
|
|
default "dev/powerled0"
|
|
|
|
---help---
|
|
|
|
The default path to the Powerled device. Default: /dev/powerled0
|
|
|
|
|
|
|
|
config EXAMPLES_POWERLED_CURRENT_LIMIT
|
|
|
|
int "LED current limit (mA)"
|
|
|
|
default 50
|
|
|
|
---help---
|
|
|
|
Current limit for LED driver in mA. This current value is used to achieve maximum LED brightness.
|
|
|
|
Make sure it does not exceed LED maximum forward current!
|
|
|
|
|
|
|
|
endif
|