mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_ChibiOS: moved compass support for f103-GPS
not needed for other builds
This commit is contained in:
parent
9e9be95943
commit
207dffba88
@ -5,6 +5,13 @@ define HAL_CAN_DEFAULT_NODE_ID 117
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_gps"
|
||||
|
||||
# added rm3100 mag on SPI
|
||||
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
|
||||
COMPASS RM3100 SPI:rm3100 false ROTATION_NONE
|
||||
|
||||
# and support all external compass types
|
||||
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
|
||||
# GPS+MAG
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
|
@ -124,7 +124,6 @@ define HAL_DEVICE_THREAD_STACK 256
|
||||
|
||||
define AP_PARAM_MAX_EMBEDDED_PARAM 0
|
||||
|
||||
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
define HAL_I2C_INTERNAL_MASK 0
|
||||
|
||||
# disable dual GPS and GPS blending to save flash space
|
||||
|
Loading…
Reference in New Issue
Block a user