Skip to content

Commit

Permalink
HAL_ChibiOS: setup power brick on mini-pix by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Feb 10, 2019
1 parent be3428d commit ee97f0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/mini-pix/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee97f0d

Please sign in to comment.