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_DRONECAN
|
|
|
|
tristate "DroneCAN example"
|
2016-07-08 15:55:30 +02:00
|
|
|
default n
|
2023-01-31 16:35:23 +01:00
|
|
|
depends on CANUTILS_LIBDRONECAN && SYSTEM_TIME64
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
2023-01-31 16:35:23 +01:00
|
|
|
Enable the LIBDRONECAN example
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
if EXAMPLES_DRONECAN
|
2016-07-08 15:55:30 +02:00
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_DRONECAN_DEVPATH
|
2016-07-08 15:55:30 +02:00
|
|
|
string "Device Path"
|
|
|
|
default "/dev/can0"
|
2023-01-31 16:35:23 +01:00
|
|
|
depends on CAN
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
|
|
|
The device path
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_DRONECAN_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_DRONECAN_APP_NODE_NAME
|
2016-07-08 15:55:30 +02:00
|
|
|
string "Node name"
|
2023-01-31 16:35:23 +01:00
|
|
|
default "org.dronecan.nuttx.demo"
|
2016-07-08 15:55:30 +02:00
|
|
|
---help---
|
|
|
|
app node name
|
|
|
|
|
2023-01-31 16:35:23 +01:00
|
|
|
config EXAMPLES_DRONECAN_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_DRONECAN_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_DRONECAN_STACKSIZE
|
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
|