Skip to content

Commit

Permalink
AP_HAL_ChibiOS: use SPL06 with background updates on BETAFPV-F405
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jan 1, 2025
1 parent fdd9dca commit e4b047e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/BETAFPV-F405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
SPIDEV baro1 SPI3 DEVID2 BARO1_CS MODE3 1*MHZ 8*MHZ
SPIDEV baro2 SPI3 DEVID2 BARO1_CS MODE3 5*MHZ 5*MHZ
BARO BMP280 SPI:baro1
BARO DPS310 SPI:baro2
BARO SPL06 SPI:baro2

define AP_BARO_BACKEND_DEFAULT_ENABLED 0
define AP_BARO_BMP280_ENABLED 1
define AP_BARO_DPS280_ENABLED 1
define AP_BARO_SPL06_ENABLED 1

# IMU setup
SPIDEV imu1 SPI1 DEVID1 GYRO1_CS MODE3 1*MHZ 8*MHZ
Expand All @@ -150,6 +150,7 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 1
define HAL_FRAME_TYPE_DEFAULT 12
# Generally no compass so need accurate IMU source
define HAL_INS_TEMPERATURE_CAL_ENABLE 1
define AP_BARO_SPL06_BACKGROUND_ENABLE 1


include ../include/minimize_fpv_osd.inc
Expand Down

0 comments on commit e4b047e

Please sign in to comment.