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.
|
|
|
|
#
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL
|
|
|
|
tristate "OpenCyphal Cyphal/CAN example"
|
2016-07-08 15:55:30 +02:00
|
|
|
default n
|
2023-01-31 16:35:23 +01:00
|
|
|
depends on CANUTILS_LIBOPENCYPHAL
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
2023-01-31 16:35:23 +01:00
|
|
|
Enable the LIBOPENCYPHAL example
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
if EXAMPLES_LIBOPENCYPHAL
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL_DEV
|
2022-08-01 15:44:33 +02:00
|
|
|
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
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL_NODE_ID
|
2016-07-08 15:55:30 +02:00
|
|
|
int "Node ID"
|
|
|
|
default 1
|
|
|
|
range 1 127
|
|
|
|
---help---
|
|
|
|
Specifies the node's ID
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL_APP_NODE_NAME
|
2016-07-08 15:55:30 +02:00
|
|
|
string "Node name"
|
2023-01-31 16:35:23 +01:00
|
|
|
default "org.apache.nuttx.demo"
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
|
|
|
app node name
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL_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
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL_DAEMON_PRIORITY
|
2016-07-08 15:55:30 +02:00
|
|
|
int "daemon task priority"
|
|
|
|
default 100
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_LIBOPENCYPHAL_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
|