mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_ChibiOS: enable CAN on FMUv5
and fixed voltage scaling defaults
This commit is contained in:
parent
2087354939
commit
010cd71ab6
@ -180,10 +180,18 @@ PB0 RSSI_IN ADC1 SCALE(1)
|
||||
PC0 VDD_5V_SENS ADC1 SCALE(2)
|
||||
PC1 SCALED_V3V3 ADC1 SCALE(2)
|
||||
|
||||
# setup scaling defaults for PixHackV5 power brick
|
||||
define HAL_BATT_VOLT_SCALE 18.0
|
||||
define HAL_BATT_CURR_SCALE 24.0
|
||||
define HAL_BATT_VOLT_PIN 0
|
||||
define HAL_BATT_CURR_PIN 1
|
||||
define HAL_BATT_VOLT_SCALE 10.1
|
||||
define HAL_BATT_CURR_SCALE 17.0
|
||||
|
||||
# CAN bus
|
||||
PI9 CAN1_RX CAN1
|
||||
PH13 CAN1_TX CAN1
|
||||
|
||||
PB12 CAN2_RX CAN2
|
||||
PB13 CAN2_TX CAN2
|
||||
|
||||
# GPIOs
|
||||
PA7 HEATER_EN OUTPUT LOW GPIO(80)
|
||||
|
Loading…
Reference in New Issue
Block a user