ardupilot/libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat
Peter Barker cd9e7e095a hwdef: f103-GPS: explicltly nominiate compass backends supported
this target is overflowing as someone is trying to add a new compass..
2024-09-17 10:31:27 +10:00

32 lines
847 B
Plaintext

include ../f103-periph/hwdef.inc
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
# support an expliclty defined set of compasses:
define AP_COMPASS_BACKEND_DEFAULT_ENABLED 0
define AP_COMPASS_AK09916_ENABLED 1
define AP_COMPASS_HMC5843_ENABLED 1
define AP_COMPASS_IST8308_ENABLED 1
define AP_COMPASS_IST8310_ENABLED 1
define AP_COMPASS_LIS3MDL_ENABLED 1
define AP_COMPASS_MMC3416_ENABLED 1
define AP_COMPASS_QMC5883L_ENABLED 1
define AP_COMPASS_RM3100_ENABLED 1
# increase TX size for RTCM
undef HAL_UART_MIN_TX_SIZE
define HAL_UART_MIN_TX_SIZE 256
# GPS
define HAL_PERIPH_ENABLE_GPS
# restrict backends available on f103:
define AP_GPS_NOVA_ENABLED 0
define AP_GPS_SBF_ENABLED 0
define AP_GPS_GSOF_ENABLED 0
# MAG
define HAL_PERIPH_ENABLE_MAG
#define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
define HAL_PERIPH_ENABLE_TOSHIBA_LED_WITHOUT_NOTIFY