HAL_ChibiOS: setup power brick on mini-pix by default

This commit is contained in:
Andrew Tridgell 2019-02-10 14:54:27 +11:00
parent be3428de65
commit ee97f0dccd

View File

@ -41,6 +41,12 @@ PA5 SPI1_SCK SPI1
PA6 SPI1_MISO SPI1
PA7 SPI1_MOSI SPI1
# setup for power brick
define HAL_BATT_VOLT_PIN 2
define HAL_BATT_CURR_PIN 3
define HAL_BATT_VOLT_SCALE 12.1
define HAL_BATT_CURR_SCALE 43.0
PA9 VBUS INPUT OPENDRAIN
PA11 OTG_FS_DM OTG1