From 77a9d4579f37a4aa886ca72aa85bf8f0e3d987da Mon Sep 17 00:00:00 2001 From: Bob Long Date: Thu, 2 May 2024 19:06:36 -0500 Subject: [PATCH] CarbonixCubeOrange: fix inverted pwr monitor pins SW-173 --- .../AP_HAL_ChibiOS/hwdef/CarbonixCubeOrange/hwdef.dat | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCubeOrange/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCubeOrange/hwdef.dat index 21e3c6315d..f8a7c69a25 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCubeOrange/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCubeOrange/hwdef.dat @@ -2,6 +2,14 @@ include ../CubeOrange/hwdef.dat +# The Carbonix carrier board (CX13042008) uses uninverted logic for these pins, +# as opposed to how the CubePilot carrier hardware is designed. We have to +# redefine these pin assignments. +undef PB5 +undef PB7 +PB5 VDD_BRICK_VALID INPUT PULLUP +PB7 VDD_BRICK2_VALID INPUT PULLUP + undef HAL_NAVEKF3_AVAILABLE undef HAL_NAVEKF2_AVAILABLE undef HAL_EXTERNAL_AHRS_ENABLED