40 lines
789 B
Plaintext
40 lines
789 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_LEDS
|
||
|
bool "LED driver example"
|
||
|
default n
|
||
|
depends on ARCH_HAVE_LEDS && !ARCH_LEDS
|
||
|
---help---
|
||
|
Enable the LED driversexample
|
||
|
|
||
|
if EXAMPLES_LEDS
|
||
|
|
||
|
config EXAMPLES_LEDS_PROGNAME
|
||
|
string "Program name"
|
||
|
default "leds"
|
||
|
depends on BUILD_KERNEL
|
||
|
---help---
|
||
|
This is the name of the program that will be use when the NSH ELF
|
||
|
program is installed.
|
||
|
|
||
|
config EXAMPLES_LEDS_PRIORITY
|
||
|
int "LED task priority"
|
||
|
default 100
|
||
|
|
||
|
config EXAMPLES_LEDS_STACKSIZE
|
||
|
int "LED stack size"
|
||
|
default 2048
|
||
|
|
||
|
config EXAMPLES_LEDS_DEVPATH
|
||
|
string "LED device path"
|
||
|
default "/dev/userleds"
|
||
|
|
||
|
config EXAMPLES_LEDS_LEDSET
|
||
|
hex "Set of LEDs to use"
|
||
|
default 0x0f
|
||
|
|
||
|
endif
|