hwdef: added MatekL431-HiRes build

This commit is contained in:
Andrew Tridgell 2024-03-03 09:04:50 +11:00
parent 76343f5e6f
commit d1deb1c53b
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,2 @@
include ../MatekL431/hwdef-bl.inc

View File

@ -0,0 +1,15 @@
include ../MatekL431/hwdef.inc
define HAL_PERIPH_ENABLE_MAG
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
COMPASS RM3100 SPI:rm3100 false ROTATION_PITCH_180
define HAL_COMPASS_MAX_SENSORS 1
# provide HiRes mag data for magnetic surveying
define AP_PERIPH_MAG_HIRES 1
define AP_PERIPH_MAG_MAX_RATE 0
define HAL_USE_ADC FALSE