2016-07-08 15:55:30 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1
|
|
|
|
tristate "libcandard v1 example"
|
2016-07-08 15:55:30 +02:00
|
|
|
default n
|
2022-08-01 15:44:33 +02:00
|
|
|
depends on CANUTILS_LIBCANARDV1
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
2022-08-01 15:44:33 +02:00
|
|
|
Enable the LIBCANARDV1 example
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
if EXAMPLES_LIBCANARDV1
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1_DEV
|
|
|
|
string "Device"
|
|
|
|
default "can0"
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
2022-08-01 15:44:33 +02:00
|
|
|
The device
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1_NODE_ID
|
2016-07-08 15:55:30 +02:00
|
|
|
int "Node ID"
|
|
|
|
default 1
|
|
|
|
range 1 127
|
|
|
|
---help---
|
|
|
|
Specifies the node's ID
|
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1_APP_NODE_NAME
|
2016-07-08 15:55:30 +02:00
|
|
|
string "Node name"
|
2022-08-01 15:44:33 +02:00
|
|
|
default "org.uavcan.libcanardv1.nuttx.demo"
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
|
|
|
app node name
|
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1_NODE_MEM_POOL_SIZE
|
2016-07-08 15:55:30 +02:00
|
|
|
int "Node Memory Pool Size"
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
Specifies the node's memory pool size
|
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1_DAEMON_PRIORITY
|
2016-07-08 15:55:30 +02:00
|
|
|
int "daemon task priority"
|
|
|
|
default 100
|
|
|
|
|
2022-08-01 15:44:33 +02:00
|
|
|
config EXAMPLES_LIBCANARDV1_DAEMON_STACK_SIZE
|
2016-07-08 15:55:30 +02:00
|
|
|
int "canard stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2016-07-08 15:55:30 +02:00
|
|
|
|
|
|
|
endif
|