Skip to content

Commit

Permalink
AP_HAL_ChibiOS: Added mag and dataflash logging support to AnyLeaf H7
Browse files Browse the repository at this point in the history
  • Loading branch information
David O'Connor authored and andyp1per committed May 22, 2024
1 parent 8e399cf commit 38e93c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/AnyleafH7/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 1
# DPS310 integrated on I2C2 bus, multiple possible choices for external barometer
BARO DPS310 I2C:0:0x77

# no built-in compass, but probe the i2c bus for all possible
# external compass types
define ALLOW_ARM_NO_COMPASS
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2

# setup for OSD
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 5 # MSP Displayport
define HAL_LOGGING_DATAFLASH_ENABLED 1

0 comments on commit 38e93c1

Please sign in to comment.