nuttx-apps/examples/buttons/Kconfig
anchao 220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00

81 lines
1.6 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_BUTTONS
bool "Buttons driver example"
default n
depends on ARCH_HAVE_BUTTONS
---help---
Enable the Buttons drivers example
if EXAMPLES_BUTTONS
config EXAMPLES_BUTTONS_PROGNAME
string "Program name"
default "buttons"
depends on BUILD_LOADABLE
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
config EXAMPLES_BUTTONS_PRIORITY
int "Button task priority"
default 100
config EXAMPLES_BUTTONS_STACKSIZE
int "Button stack size"
default 2048
config EXAMPLES_BUTTONS_DEVPATH
string "Button device path"
default "/dev/buttons"
config EXAMPLES_BUTTONS_NAMES
bool "Show Buttons Names"
default n
---help---
Enable to show the button's name in the application.
if EXAMPLES_BUTTONS_NAMES
config EXAMPLES_BUTTONS_QTD
int "Number of Buttons in the Board"
default 8
config EXAMPLES_BUTTONS_NAME0
string "Button 0 Name"
default "BUTTON0"
config EXAMPLES_BUTTONS_NAME1
string "Button 1 Name"
default "BUTTON1"
config EXAMPLES_BUTTONS_NAME2
string "Button 2 Name"
default "BUTTON2"
config EXAMPLES_BUTTONS_NAME3
string "Button 3 Name"
default "BUTTON3"
config EXAMPLES_BUTTONS_NAME4
string "Button 4 Name"
default "BUTTON4"
config EXAMPLES_BUTTONS_NAME5
string "Button 5 Name"
default "BUTTON5"
config EXAMPLES_BUTTONS_NAME6
string "Button 6 Name"
default "BUTTON6"
config EXAMPLES_BUTTONS_NAME7
string "Button 7 Name"
default "BUTTON7"
endif # EXAMPLES_BUTTONS_NAMES
endif # EXAMPLES_BUTTONS