chore(v16): add support for more IMU hardware (#7482)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
helloradiosky
2026-07-21 13:19:09 +10:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent 14e6d6ce01
commit 19aa6d5f20
5 changed files with 71 additions and 39 deletions
+3
View File
@@ -116,6 +116,8 @@ if (PCB STREQUAL X10)
set(AUX2_SERIAL OFF)
set(CSD203_SENSOR ON)
set(FLYSKY_GIMBAL ON)
add_definitions(-DIMU_ICM42627)
add_definitions(-DIMU_SC7U22)
if (BLUETOOTH)
set(AUX_SERIAL OFF)
endif()
@@ -285,6 +287,7 @@ add_library(board OBJECT EXCLUDE_FROM_ALL
targets/common/arm/stm32/heartbeat_driver.cpp
drivers/lsm6ds.cpp
drivers/icm42627.cpp
drivers/sc7u22.cpp
targets/common/arm/stm32/mixer_scheduler_driver.cpp
targets/common/arm/stm32/module_timer_driver.cpp
targets/common/arm/stm32/sticks_pwm_driver.cpp