nuttx-apps/examples/powerled/Kconfig
Mateusz Szafoni 6d37b6a570 Merged in raiden00/apps (pull request #120)
examples: add SMPS driver example

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 12:33:06 +00:00

28 lines
697 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_POWERLED
bool "Powerled example"
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