Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dakejahl committed Dec 12, 2024
1 parent 5df3d64 commit ae41c9d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions libraries/AP_HAL_ChibiOS/hwdef/ARK_FPV/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ PC7 USART6_RX USART6
PA0 SCALED1_V3V3 ADC1 SCALE(2)
PB1 VDD_5V_SENS ADC1 SCALE(2)
# TODO: 12V monitor
# PA4 SCALED2_V3V3 ADC1 SCALE(2)
# PA4 SCALED2_V3V3 ADC1 SCALE(7.66)

PB0 BATT_VOLTAGE_SENS ADC1 SCALE(1)
PC2 BATT_CURRENT_SENS ADC1 SCALE(1)
Expand Down Expand Up @@ -93,7 +93,7 @@ PD11 DRDY_ADIS16507 INPUT GPIO(93)
# GPIO(93) for data ready on ADIS16507
# define ADIS_DRDY_PIN 93

# Motors
# Motors, see STM32H743xx.py
PI0 TIM5_CH4 TIM5 PWM(1) GPIO(50) BIDIR
PH12 TIM5_CH3 TIM5 PWM(2) GPIO(51) BIDIR
PH11 TIM5_CH2 TIM5 PWM(3) GPIO(52) BIDIR
Expand Down Expand Up @@ -144,9 +144,7 @@ PE6 nARMED OUTPUT HIGH
PC13 VDD_3V3_SD_CARD_EN OUTPUT HIGH
PI11 VDD_3V3_SENSORS1_EN OUTPUT HIGH

# (12V EN) start peripheral power off, then enable after init
# this prevents a problem with radios that use RTS for
# bootloader hold
# 12V enable, start with it off
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH

# Power sensing
Expand Down Expand Up @@ -174,8 +172,7 @@ define AP_NOTIFY_GPIO_LED_RGB_ENABLED 1

# ID pins
PG0 HW_VER_REV_DRIVE OUTPUT LOW
# PH3 HW_VER_SENS ADC3 SCALE(1)
# PH4 HW_REV_SENS ADC3 SCALE(1)
PH4 HW_REV_SENS ADC3 SCALE(1)

# Barometer on i2c_2
BARO BMP388 I2C:1:0x76
Expand Down

0 comments on commit ae41c9d

Please sign in to comment.