mirror of https://github.com/ArduPilot/ardupilot
hwdef: added MatekL431-HiRes build
This commit is contained in:
parent
76343f5e6f
commit
d1deb1c53b
|
@ -0,0 +1,2 @@
|
|||
include ../MatekL431/hwdef-bl.inc
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue