AP_HAL_ChibiOS: Durandal peripheral power on at startup

This commit is contained in:
Randy Mackay 2024-04-16 11:52:37 +09:00
parent fb40b3e6fc
commit 2695af6be4
1 changed files with 3 additions and 5 deletions

View File

@ -109,11 +109,9 @@ define HAL_I2C_INTERNAL_MASK 1
# enable pins # enable pins
PE3 VDD_3V3_SENSORS_EN OUTPUT LOW PE3 VDD_3V3_SENSORS_EN OUTPUT LOW
# start peripheral power off, then enable after init # start peripheral power on
# this prevents a problem with radios that use RTS for PF12 nVDD_5V_HIPOWER_EN OUTPUT LOW
# bootloader hold PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
PF12 nVDD_5V_HIPOWER_EN OUTPUT HIGH
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
PG5 VDD_5V_RC_EN OUTPUT HIGH PG5 VDD_5V_RC_EN OUTPUT HIGH
PG6 VDD_5V_WIFI_EN OUTPUT HIGH PG6 VDD_5V_WIFI_EN OUTPUT HIGH