chore(v16): add support for more IMU hardware (#7482)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
14e6d6ce01
commit
19aa6d5f20
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user