Commit dd11d65
Your Name
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
- drivers
- accgyro
- sensors
- target
- SPEEDYBEEF405WING
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| |||
0 commit comments