hwdef: new variant of KakuteH7 using ICM42688

This commit is contained in:
Andy Piper 2023-12-03 15:35:52 +00:00 committed by Andrew Tridgell
parent 0cc5cf7d2d
commit cca8f8219a

View File

@ -129,6 +129,7 @@ DMA_NOSHARE SPI1*
# spi devices # spi devices
SPIDEV mpu6000 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 4*MHZ SPIDEV mpu6000 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 4*MHZ
SPIDEV icm42688 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 16*MHZ
SPIDEV sdcard SPI1 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ SPIDEV sdcard SPI1 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ
SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
@ -145,6 +146,7 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# one IMU # one IMU
IMU Invensense SPI:mpu6000 ROTATION_YAW_180 IMU Invensense SPI:mpu6000 ROTATION_YAW_180
IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270
# one BARO # one BARO
BARO BMP280 I2C:0:0x76 BARO BMP280 I2C:0:0x76