mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
ICM42688P - Initial sensor support based on ICM42605 driver.
This commit is contained in:
parent
8ca4fdc586
commit
46c62cfcf2
11 changed files with 352 additions and 4 deletions
|
@ -47,6 +47,7 @@
|
|||
#include "drivers/accgyro/accgyro_spi_icm20649.h"
|
||||
#include "drivers/accgyro/accgyro_spi_icm20689.h"
|
||||
#include "drivers/accgyro/accgyro_spi_icm42605.h"
|
||||
#include "drivers/accgyro/accgyro_spi_icm42688p.h"
|
||||
#include "drivers/accgyro/accgyro_spi_lsm6dso.h"
|
||||
#include "drivers/accgyro/accgyro_spi_mpu6000.h"
|
||||
#include "drivers/accgyro/accgyro_spi_mpu6500.h"
|
||||
|
@ -277,6 +278,15 @@ retry:
|
|||
FALLTHROUGH;
|
||||
#endif
|
||||
|
||||
#ifdef USE_ACC_SPI_ICM42688P
|
||||
case ACC_ICM42688P:
|
||||
if (icm42688PSpiAccDetect(dev)) {
|
||||
accHardware = ACC_ICM42688P;
|
||||
break;
|
||||
}
|
||||
FALLTHROUGH;
|
||||
#endif
|
||||
|
||||
#ifdef USE_ACCGYRO_BMI160
|
||||
case ACC_BMI160:
|
||||
if (bmi160SpiAccDetect(dev)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue