Skip to content

Commit dd11d65

Browse files
author
Your Name
committed
Add ICM42607/LSM6DSV16X/LSM6DSK320X IMU support and fix USART ORE handling
- Add ICM42607 driver (WHO_AM_I 0x60/0x67) for ICM-42607-P/ICM-42670-P - Add LSM6DSV16X driver (WHO_AM_I 0x70/0x75) for LSM6DSV16X/LSM6DSK320X - Integrate both drivers into sensor detection chain and build system - Fix USART ORE (Overrun Error) handling in STM32F4 UART IRQ handler: replace broken USART_GetITStatus(USART_FLAG_ORE) + ClearITPendingBit with direct SR+DR register read sequence (fixes infinite ISR loop on APM32F4xx when receiver triggers overrun)
1 parent d44f2cf commit dd11d65

14 files changed

Lines changed: 981 additions & 6 deletions

File tree

src/main/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ main_sources(COMMON_SRC
8787
drivers/accgyro/accgyro_icm20689.h
8888
drivers/accgyro/accgyro_icm42605.c
8989
drivers/accgyro/accgyro_icm42605.h
90+
drivers/accgyro/accgyro_icm42607.c
91+
drivers/accgyro/accgyro_icm42607.h
9092
drivers/accgyro/accgyro_mpu.c
9193
drivers/accgyro/accgyro_mpu.h
9294
drivers/accgyro/accgyro_mpu6000.c
@@ -97,6 +99,8 @@ main_sources(COMMON_SRC
9799
drivers/accgyro/accgyro_mpu9250.h
98100
drivers/accgyro/accgyro_lsm6dxx.c
99101
drivers/accgyro/accgyro_lsm6dxx.h
102+
drivers/accgyro/accgyro_lsm6dsv16x.c
103+
drivers/accgyro/accgyro_lsm6dsv16x.h
100104

101105
drivers/adc.c
102106
drivers/adc.h

0 commit comments

Comments
 (0)