File tree Expand file tree Collapse file tree
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-AUAV Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ def __init__(self,
181181 'MatekL431-ADSB' , # uses USE_BOOTLOADER_FROM_BOARD
182182 'MatekL431-Airspeed' , # uses USE_BOOTLOADER_FROM_BOARD
183183 'MatekL431-APDTelem' , # uses USE_BOOTLOADER_FROM_BOARD
184+ 'MatekL431-AUAV' , # uses USE_BOOTLOADER_FROM_BOARD
184185 'MatekL431-BatteryTag' , # uses USE_BOOTLOADER_FROM_BOARD
185186 'MatekL431-BattMon' , # uses USE_BOOTLOADER_FROM_BOARD
186187 'MatekL431-bdshot' , # uses USE_BOOTLOADER_FROM_BOARD
Original file line number Diff line number Diff line change 1+ include ../MatekL431/hwdef.inc
2+
3+ define HAL_USE_ADC FALSE
4+ define STM32_ADC_USE_ADC1 FALSE
5+ define HAL_DISABLE_ADC_DRIVER TRUE
6+
7+ # ------------------ I2C airspeed -------------------------
8+ define AP_PERIPH_AIRSPEED_ENABLED 1
9+
10+ # 30" AUAV sensor by default
11+ define HAL_AIRSPEED_TYPE_DEFAULT 19
12+ define AIRSPEED_MAX_SENSORS 1
13+
14+ # enable Baro on AUAV
15+ define AP_PERIPH_BARO_ENABLED 1
16+ define AP_BARO_BACKEND_DEFAULT_ENABLED 0
17+ define AP_BARO_AUAV_ENABLED 1
18+ define BARO_MAX_INSTANCES 1
19+ BARO AUAV I2C:0:0x27
20+
21+ # ----------- MSP -------------------
22+ define AP_PERIPH_MSP_ENABLED 1
23+ define HAL_MSP_ENABLED 1
24+ define AP_PERIPH_MSP_PORT_DEFAULT 1
25+
26+ USE_BOOTLOADER_FROM_BOARD MatekL431
You can’t perform that action at this time.
0 commit comments