From 32578b796bc360520306d54540f4909c6af4986f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 17 Mar 2023 09:06:15 +1100 Subject: [PATCH] hwdef: fixed polarity of VDD_5V_PERIPH_EN on several boards we can tell these are incorrect as they init to LOW, and previously we didn't have handling of VDD_5V_PERIPH_EN, so we know that LOW is enabled or the boards would not have worked this fixes GPS on Pixhawk1 --- libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/fmuv3-bdshot/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/thepeach-k1/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef.dat | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat index 7e8b5154c4..d2183a8c5d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat @@ -172,7 +172,7 @@ PA7 SPI1_MOSI SPI1 # this defines an output pin which will default to output LOW. It is a # pin that enables peripheral power on this board -PA8 VDD_5V_PERIPH_EN OUTPUT LOW +PA8 nVDD_5V_PERIPH_EN OUTPUT LOW # this is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv3-bdshot/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv3-bdshot/hwdef.dat index ff88b67947..e63e50ff4c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/fmuv3-bdshot/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv3-bdshot/hwdef.dat @@ -210,7 +210,7 @@ PA7 SPI1_MOSI SPI1 # This defines an output pin which will default to output LOW. It is a # pin that enables peripheral power on this board. -PA8 VDD_5V_PERIPH_EN OUTPUT LOW +PA8 nVDD_5V_PERIPH_EN OUTPUT LOW # This is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN. diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat index 02c1261267..61af2201c6 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat @@ -210,7 +210,7 @@ PA7 SPI1_MOSI SPI1 # This defines an output pin which will default to output LOW. It is a # pin that enables peripheral power on this board. -PA8 VDD_5V_PERIPH_EN OUTPUT LOW +PA8 nVDD_5V_PERIPH_EN OUTPUT LOW # This is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN. diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat index 314b8eafc1..66e0446894 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21-777/hwdef.dat @@ -172,7 +172,7 @@ PA7 SPI1_MOSI SPI1 # this defines an output pin which will default to output LOW. It is a # pin that enables peripheral power on this board -PA8 VDD_5V_PERIPH_EN OUTPUT LOW +PA8 nVDD_5V_PERIPH_EN OUTPUT LOW # this is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN diff --git a/libraries/AP_HAL_ChibiOS/hwdef/thepeach-k1/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/thepeach-k1/hwdef.dat index 38df0d809a..fa89307b71 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/thepeach-k1/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/thepeach-k1/hwdef.dat @@ -85,7 +85,7 @@ PA7 SPI1_MOSI SPI1 # This defines an output pin which will default to output LOW. It is a # pin that enables peripheral power on this board. -PA8 VDD_5V_PERIPH_EN OUTPUT LOW +PA8 nVDD_5V_PERIPH_EN OUTPUT LOW # This is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN. diff --git a/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef.dat index da59e0c85b..b5a8a14d3d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef.dat @@ -85,7 +85,7 @@ PA7 SPI1_MOSI SPI1 # This defines an output pin which will default to output LOW. It is a # pin that enables peripheral power on this board. -PA8 VDD_5V_PERIPH_EN OUTPUT LOW +PA8 nVDD_5V_PERIPH_EN OUTPUT LOW # This is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN.