HAL_ChibiOS: allow safety button on CUAV_GPS to be used for "stay in bootloader"
allows for recovery of bad CAN firmware
This commit is contained in:
parent
c6a9f067e2
commit
b33afde884
@ -43,6 +43,10 @@ STM32_VDD 330U
|
||||
# order of UARTs
|
||||
UART_ORDER
|
||||
|
||||
# use safety button to stay in bootloader
|
||||
PB3 STAY_IN_BOOTLOADER INPUT PULLDOWN
|
||||
define HAL_STAY_IN_BOOTLOADER_VALUE 1
|
||||
|
||||
PB12 LED_BOOTLOADER OUTPUT LOW
|
||||
define HAL_LED_ON 1
|
||||
|
||||
|
@ -93,7 +93,7 @@ PB1 SAFE_LED OUTPUT HIGH
|
||||
define SAFE_LED_ON 0
|
||||
|
||||
# safety button
|
||||
PB3 SAFE_BUTTON INPUT
|
||||
PB3 SAFE_BUTTON INPUT PULLDOWN
|
||||
|
||||
# WS2812 LED
|
||||
PB0 TIM3_CH3 TIM3 PWM(1)
|
||||
|
Loading…
Reference in New Issue
Block a user