hwdef: Add icm42688 support for KakuteH7Mini

This commit is contained in:
jamming 2024-10-11 14:58:02 +08:00 committed by Peter Barker
parent 7d3740f79f
commit e91cab3349
1 changed files with 3 additions and 1 deletions

View File

@ -136,6 +136,7 @@ DMA_NOSHARE SPI1* SPI4*
# 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 2*MHZ 16*MHZ
SPIDEV dataflash SPI1 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ SPIDEV dataflash SPI1 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
@ -146,8 +147,9 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2 define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# one IMU # one IMU v1.1 mpu6000, v1.5 icm42688
IMU Invensense SPI:mpu6000 ROTATION_YAW_180 IMU Invensense SPI:mpu6000 ROTATION_YAW_180
IMU Invensensev3 SPI:icm42688 ROTATION_PITCH_180_YAW_90
# one BARO # one BARO
BARO BMP280 I2C:0:0x76 BARO BMP280 I2C:0:0x76