nuttx-apps/examples/can/Kconfig
Xiang Xiao 31a7b99f9c apps.: Remove the inappropriate NSH_BUILTIN_APPS coupling
1. Check NSH_NETINIT for self network initialization
2. Check NSH_ARCHINIT for sel arch specific initialization
3. Always show help regardless of NSH_BUILTIN_APPS
4. Loop forever regardless of NSH_BUILTIN_APPS, user could:
  a.change the default behavior by the command line argument
  b.or ctrl+c to break out the loop
2019-10-07 02:37:56 -06:00

52 lines
931 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_CAN
tristate "CAN example"
default n
depends on CAN
---help---
Enable the CAN example
if EXAMPLES_CAN
config EXAMPLES_CAN_DEVPATH
string "Device Path"
default "/dev/can0"
---help---
The device path
config EXAMPLES_CAN_NMSGS
int "Number of Messages"
default 0
---help---
The number of CAN messages to send before returning
choice
prompt "Read-only, write-only or read-write"
default EXAMPLES_CAN_READWRITE
---help---
Choose to only read, only write, or read and write CAN messages
config EXAMPLES_CAN_READ
bool "Read-only"
---help---
Only read CAN messages
config EXAMPLES_CAN_WRITE
bool "Write-only"
---help---
Only write CAN messages
config EXAMPLES_CAN_READWRITE
bool "Read-write"
---help---
Read and write CAN messages
endchoice
endif