返回教程正文

配套源码

brick_config.yaml

app/bricks/generic_can/brick_config.yaml
generic_can Brick:在 VENTUNO Q 上自定义 CAN 报文app/bricks/generic_can/brick_config.yaml
YAML14 行
id: generic_can
name: Generic CAN
description: Protocol-neutral Standard, Extended, Classical CAN, and CAN FD frame I/O over Linux SocketCAN.
category: miscellaneous
supported_boards:
  - ventunoq
ports: []
variables:
  - name: GENERIC_CAN_INTERFACE
    default_value: "can0"
  - name: GENERIC_CAN_RAW_QUEUE_SIZE
    default_value: "256"
  - name: GENERIC_CAN_MESSAGE_QUEUE_SIZE
    default_value: "64"