AP_HAL_ChibiOS: remove HAL_COMPASS_DEFAULT define

this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.

This would have stopped being useful when we did the
compass-prority-table stuff - or before.
This commit is contained in:
Peter Barker 2022-01-27 15:51:22 +11:00 committed by Andrew Tridgell
parent ef2fd1f4ba
commit 0eacc0348e
33 changed files with 0 additions and 33 deletions

View File

@ -118,7 +118,6 @@ SPIDEV osd SPI4 DEVID4 AT7456E_CS MODE0 10*MHZ 10*MHZ
# no built-in compass and no external I2C so no compass # no built-in compass and no external I2C so no compass
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
# one IMU, v1 mpu6000 and v2 bmi270 # one IMU, v1 mpu6000 and v2 bmi270

View File

@ -121,7 +121,6 @@ SPIDEV osd SPI4 DEVID4 AT7456E_CS MODE0 10*MHZ 10*MHZ
# no built-in compass and no external I2C so no compass # no built-in compass and no external I2C so no compass
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
# one IMU # one IMU

View File

@ -317,7 +317,6 @@ define HAL_HAVE_SAFETY_SWITCH 1
# one baro # one baro
BARO MS56XX SPI:ms5611 BARO MS56XX SPI:ms5611
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# enable FAT filesystem support (needs a microSD defined via SDMMC) # enable FAT filesystem support (needs a microSD defined via SDMMC)

View File

@ -134,7 +134,6 @@ SPIDEV mpu6000 SPI4 DEVID4 MPU6000_CS MODE3 1*MHZ 4*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0

View File

@ -122,7 +122,6 @@ define HAL_PROBE_EXTERNAL_I2C_BAROS
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -125,7 +125,6 @@ FLASH_RESERVE_START_KB 64
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -126,7 +126,6 @@ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -134,7 +134,6 @@ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -135,7 +135,6 @@ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -143,7 +143,6 @@ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -126,7 +126,6 @@ define HAL_BARO_ALLOW_INIT_NO_BARO
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -122,7 +122,6 @@ define HAL_BARO_ALLOW_INIT_NO_BARO
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -146,7 +146,6 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -169,7 +169,6 @@ define BOARD_RSSI_ANA_PIN 15
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -138,7 +138,6 @@ define HAL_BARO_ALLOW_INIT_NO_BARO
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -190,7 +190,6 @@ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 1 define HAL_I2C_INTERNAL_MASK 1
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -194,7 +194,6 @@ SPIDEV pixartflow SPI3 DEVID1 EXT_CS1 MODE3 2*MHZ 2*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -147,7 +147,6 @@ define HAL_SPI_CHECK_CLOCK_FREQ 1
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# define HAL_PROBE_EXTERNAL_I2C_COMPASSES # define HAL_PROBE_EXTERNAL_I2C_COMPASSES
# define HAL_COMPASS_DEFAULT HAL_COMPASS_IST8310_I2C
# define HAL_PROBE_EXTERNAL_I2C_COMPASSES # define HAL_PROBE_EXTERNAL_I2C_COMPASSES
COMPASS IST8310 I2C:ALL_EXTERNAL:0x0E true ROTATION_ROLL_180_YAW_90 COMPASS IST8310 I2C:ALL_EXTERNAL:0x0E true ROTATION_ROLL_180_YAW_90
COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_ROLL_180_YAW_90 COMPASS IST8310 I2C:ALL_INTERNAL:0x0E false ROTATION_ROLL_180_YAW_90

View File

@ -62,7 +62,6 @@ PA0 BATT_VOLTAGE_SENS ADC1 SCALE(1)
PA1 BATT_CURRENT_SENS ADC1 SCALE(1) PA1 BATT_CURRENT_SENS ADC1 SCALE(1)
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
# probe for an invensense IMU # probe for an invensense IMU
IMU Invensense SPI:mpu6000 ROTATION_NONE IMU Invensense SPI:mpu6000 ROTATION_NONE

View File

@ -123,7 +123,6 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -121,7 +121,6 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -120,7 +120,6 @@ BARO BMP280 SPI:bmp280
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0

View File

@ -296,7 +296,6 @@ define HAL_WITH_RAMTRON 1
# allow to have have a dedicated safety switch pin # allow to have have a dedicated safety switch pin
define HAL_HAVE_SAFETY_SWITCH 1 define HAL_HAVE_SAFETY_SWITCH 1
#define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# don't share IOMCU DMA # don't share IOMCU DMA

View File

@ -151,7 +151,6 @@ SPIDEV sdcard SPI4 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0

View File

@ -103,7 +103,6 @@ define HAL_BARO_ALLOW_INIT_NO_BARO
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -85,7 +85,6 @@ BARO MS56XX I2C:0:0x77
# no builtin compasses # no builtin compasses
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -113,7 +113,6 @@ BARO LPS2XH:probe_InvensenseIMU I2C:0:0x5D 0x69
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -294,7 +294,6 @@ define HAL_WITH_RAMTRON 1
# allow to have have a dedicated safety switch pin # allow to have have a dedicated safety switch pin
define HAL_HAVE_SAFETY_SWITCH 1 define HAL_HAVE_SAFETY_SWITCH 1
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2
DMA_PRIORITY SDMMC* UART8* ADC* SPI* TIM* DMA_PRIORITY SDMMC* UART8* ADC* SPI* TIM*

View File

@ -105,7 +105,6 @@ define STM32_RCIN_DMA_CHANNEL 0
define HAL_USE_EMPTY_STORAGE 1 define HAL_USE_EMPTY_STORAGE 1
define HAL_STORAGE_SIZE 16384 define HAL_STORAGE_SIZE 16384
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_INS_DEFAULT HAL_INS_NONE define HAL_INS_DEFAULT HAL_INS_NONE
define HAL_BARO_DEFAULT HAL_BARO_NONE define HAL_BARO_DEFAULT HAL_BARO_NONE
define HAL_NO_GPIO_IRQ define HAL_NO_GPIO_IRQ

View File

@ -105,7 +105,6 @@ define STM32_RCIN_DMA_CHANNEL 0
define HAL_USE_EMPTY_STORAGE 1 define HAL_USE_EMPTY_STORAGE 1
define HAL_STORAGE_SIZE 16384 define HAL_STORAGE_SIZE 16384
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_INS_DEFAULT HAL_INS_NONE define HAL_INS_DEFAULT HAL_INS_NONE
define HAL_BARO_DEFAULT HAL_BARO_NONE define HAL_BARO_DEFAULT HAL_BARO_NONE
define HAL_NO_GPIO_IRQ define HAL_NO_GPIO_IRQ

View File

@ -121,7 +121,6 @@ BARO BMP280 SPI:bmp280
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2

View File

@ -123,7 +123,6 @@ BARO BMP280 SPI:bmp280
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0

View File

@ -130,7 +130,6 @@ define HAL_BARO_ALLOW_INIT_NO_BARO
# no built-in compass, but probe the i2c bus for all possible # no built-in compass, but probe the i2c bus for all possible
# external compass types # external compass types
define ALLOW_ARM_NO_COMPASS define ALLOW_ARM_NO_COMPASS
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0