mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 20:53:34 +08:00
UAVCAN: Add STM32H7 FDCAN Driver
Took the existing uavcan_stm32 driver and replaced all bxCAN code with the equivalent for FDCAN following ST Reference Manual RM0433. Note: There is still a bug somewhere in regards to FDCAN2 (probably incorrect setup of the message RAM? Not sure.) But (FD)CAN1 is fully functional (Classic CAN only, no CAN-FD). Also TODO: Configure CAN filters. Right now there are no filters; all incoming messages are accepted.
This commit is contained in:
committed by
Daniel Agar
parent
08d2226043
commit
62799d9aca
@@ -40,6 +40,8 @@
|
||||
# include <uavcan_kinetis/uavcan_kinetis.hpp>
|
||||
#elif defined(UAVCAN_STM32_NUTTX)
|
||||
# include <uavcan_stm32/uavcan_stm32.hpp>
|
||||
#elif defined(UAVCAN_STM32H7_NUTTX)
|
||||
# include <uavcan_stm32h7/uavcan_stm32h7.hpp>
|
||||
#else
|
||||
# error "Unsupported driver"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user