[uavcan] Use CAN abstraction (#3440)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled

* [CAN] timestamp in us, and fix typo

* [uavcan] Use CAN abstraction

* [CAN] Add missing can2.

* [WIP] CAN error handling

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
This commit is contained in:
Fabien-B
2025-06-23 15:02:17 +02:00
committed by GitHub
parent 3a6ea80f57
commit 486ae432e1
8 changed files with 90 additions and 267 deletions
+1 -2
View File
@@ -11,12 +11,11 @@
</doc>
<dep>
<depends>mcu</depends>
<conflicts>uavcan</conflicts>
</dep>
<header>
<file name="can.h" dir="mcu_periph"/>
</header>
<event fun="can_event()" cond="ifeq ($(ARCH), stm32)"/>
<!-- <event fun="can_event()" cond="ifeq ($(ARCH), stm32)"/> -->
<makefile>
<configure name="USE_CANFD" default="FALSE"/>
<define name="USE_CANFD" value="$(USE_CANFD)"/>
+3 -1
View File
@@ -10,6 +10,9 @@
<define name="UAVCAN_NODE_ID" value="100" description="The UAVCAN node ID of the AP"/>
<define name="UAVCAN_BAUDRATE" value="1000000" description="The baudrate of the CAN interface"/>
</doc>
<dep>
<depends>can</depends>
</dep>
<header>
<file name="uavcan.h" dir="modules/uavcan"/>
</header>
@@ -37,4 +40,3 @@
<file_arch name="uavcan.c" dir="modules/uavcan"/>
</makefile>
</module>