From 4ce133dd2752997a7e18c547232349dc3c438365 Mon Sep 17 00:00:00 2001 From: tompsontan <1153614092@qq.com> Date: Thu, 31 Oct 2024 12:46:55 +0800 Subject: [PATCH] hwdef:fixed board AP-H743v2 CAN pin definition. --- libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat index b5e36fcae241f..231afa6a4fd55 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/X-MAV-AP-H743v2/hwdef.dat @@ -30,7 +30,7 @@ SERIAL_ORDER OTG1 USART2 UART4 USART1 USART6 UART8 USART3 UART5 UART7 # USB PA11 OTG_FS_DM OTG1 PA12 OTG_FS_DP OTG1 -PD0 VBUS INPUT OPENDRAIN +PE15 VBUS INPUT OPENDRAIN # Serial1 PD6 USART2_RX USART2 @@ -68,6 +68,10 @@ PE7 UART7_RX UART7 PA13 JTMS-SWDIO SWD PA14 JTCK-SWCLK SWD +# CAN +PD0 CAN1_RX CAN1 +PD1 CAN1_TX CAN1 + # two I2C bus I2C_ORDER I2C1 I2C4