hwdef: Add IST8310 and RM3100 Compass support for HolybroG4_GPS

This commit is contained in:
jamming 2024-08-06 14:22:09 +08:00 committed by Peter Barker
parent fb28e2c24f
commit 988d50fd9b
1 changed files with 7 additions and 1 deletions

View File

@ -86,9 +86,15 @@ PC14 ICM_CS CS
# GPS PPS
PA15 GPS_PPS_IN INPUT
# compass
# compass bmm150 on can-M8N and can-F9P-v1
COMPASS BMM150 I2C:0:0x10 false ROTATION_YAW_90
# compass ist8310 on can-M9N
COMPASS IST8310 I2C:0:0x0E false ROTATION_NONE
# compass RM3100 on can-F9P-v2
COMPASS RM3100 I2C:0:0x20 false ROTATION_NONE
define HAL_USE_ADC FALSE
define STM32_ADC_USE_ADC1 FALSE
define HAL_DISABLE_ADC_DRIVER TRUE