CONFIG_CANFD_MAX_DLC
Max data length code in CAN frames
Type: int
Help
Maximum allowed DLC in a CAN frame. This parameter sets the
data buffer size in a CAN frame and is therefore only used to
optimize memory consumption.
Direct dependencies
CAN_FD_MODE
&& CAN
(Includes any dependencies from ifs and menus.)
Default
15
Kconfig definition
At <Zephyr>/drivers/can/Kconfig:53
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/drivers/Kconfig:82
Menu path: (Top) → Device Drivers → CAN Drivers → CAN-FD
config CANFD_MAX_DLC
int "Max data length code in CAN frames"
range 8 15
default 15
depends on CAN_FD_MODE && CAN
help
Maximum allowed DLC in a CAN frame. This parameter sets the
data buffer size in a CAN frame and is therefore only used to
optimize memory consumption.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)