Skip to content

Commit

Permalink
hwdef: Add IST8310 and RM3100 Compass support for HolybroG4_GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
jamming authored and peterbarker committed Aug 21, 2024
1 parent fb28e2c commit 988d50f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 988d50f

Please sign in to comment.