ardupilot/libraries/AP_HAL_ChibiOS/hwdef/f303-TempSensor/hwdef.dat
Peter Barker a8717fe6a2 AP_HAL_ChibiOS: create and use AP_PERIPH_BATTERY_ENABLED
... and AP_PERIPH_BATTERY_BALANCE_ENABLED while we're here
2025-01-28 09:11:21 +11:00

28 lines
418 B
Plaintext

include ../f303-periph/hwdef.inc
# These are tied to ground
undef PA5
undef PA6
undef PA7
undef SPI
undef SPI1
SERIAL_ORDER EMPTY USART1 USART2
# setup for 3 PWM
undef PB0
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(2)
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(3)
define HAL_PERIPH_ENABLE_RC_OUT
define AP_PERIPH_BATTERY_ENABLED 1
PA1 BATT_VOLTAGE_SENS ADC1 SCALE(1)
define HAL_WITH_ESC_TELEM 1
define AP_TEMPERATURE_SENSOR_ENABLED 1