mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: fix bootloaders to turn on switched supply during bootloader
This commit is contained in:
parent
e4ce4ebed3
commit
2f90806f0a
|
@ -33,3 +33,6 @@ PB12 OSD_CS CS
|
|||
PC13 FLASH_CS CS
|
||||
PC1 SDCARD_CS CS
|
||||
|
||||
# Turn on switched supply and camera switch/output during bootloader to match default
|
||||
PA4 PINIO1 OUTPUT LOW
|
||||
PB5 PINIO2 OUTPUT LOW
|
||||
|
|
|
@ -41,3 +41,6 @@ PC4 IMU1_CS CS
|
|||
PB12 MAX7456_CS CS
|
||||
PD7 IMU2_CS CS
|
||||
PE11 SPARE_CS CS
|
||||
|
||||
# turn switched supply on at power up
|
||||
PE4 PINIO1 OUTPUT LOW
|
||||
|
|
|
@ -38,6 +38,9 @@ PA12 OTG_FS_DP OTG1
|
|||
PA13 JTMS-SWDIO SWD
|
||||
PA14 JTCK-SWCLK SWD
|
||||
|
||||
# make sure Vsw is on during bootloader
|
||||
PD10 PINIO1 OUTPUT LOW
|
||||
|
||||
PE3 LED_BOOTLOADER OUTPUT LOW
|
||||
define HAL_LED_ON 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue