7.1.2. CAN配置指南

7.1.2.1. 驱动配置

Board options --->
    [*] Using CAN0
    [*] Using CAN1

zx-rtt CAN的driver层是基于RT-Thread的CAN驱动框架实现的,所以需要使能RT-Thread的CAN驱动框架:

RT-Thread options --->
    RT-Thread Components --->
        Device Drivers --->
            [*] Using CAN device drivers
            [*] Enable CAN hardware filter
            [ ] Enable CANFD support

备注

  1. CAN模块不支持CANFD

  2. 为了使用方便,选择Using CAN0/1后会自动选择CAN驱动框架