From ba53230f705e770464a2b9c64b8a966afd9e221d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 23 Jan 2019 12:40:10 +1100 Subject: [PATCH] HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini the silent pins floating disabled CAN --- libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat index 63d895bbe7..39d09bf5b6 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat @@ -210,6 +210,10 @@ PH13 CAN1_TX CAN1 PB12 CAN2_RX CAN2 PB13 CAN2_TX CAN2 +PH2 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(70) +PH3 GPIO_CAN2_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(71) +PH4 GPIO_CAN3_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(72) + # GPIOs PA7 HEATER_EN OUTPUT LOW GPIO(80) define HAL_HEATER_GPIO_PIN 80