mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-01 03:04:04 -04:00
25 lines
539 B
Plaintext
25 lines
539 B
Plaintext
include ../TBS-L431/hwdef.inc
|
|
|
|
USE_BOOTLOADER_FROM_BOARD TBS-L431-Periph
|
|
|
|
define HAL_USE_ADC FALSE
|
|
define STM32_ADC_USE_ADC1 FALSE
|
|
define HAL_DISABLE_ADC_DRIVER TRUE
|
|
|
|
# ---------------------- I2C bus ------------------------
|
|
I2C_ORDER I2C1
|
|
|
|
PA9 I2C1_SCL I2C1
|
|
PA10 I2C1_SDA I2C1
|
|
|
|
define HAL_I2C_CLEAR_ON_TIMEOUT 0
|
|
define HAL_I2C_INTERNAL_MASK 1
|
|
|
|
# ------------------ I2C airspeed -------------------------
|
|
define AP_PERIPH_AIRSPEED_ENABLED 1
|
|
|
|
# 10" DLVR sensor by default
|
|
define HAL_AIRSPEED_TYPE_DEFAULT 9
|
|
define AIRSPEED_MAX_SENSORS 1
|
|
|