add bmi270 support to kakuteh7

This commit is contained in:
Vincent Poon 2024-12-03 13:43:43 +08:00 committed by Andrew Tridgell
parent 144c7c0eb7
commit 098db52c22
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,7 @@ DMA_NOSHARE SPI1*
# spi devices
SPIDEV mpu6000 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 4*MHZ
SPIDEV icm42688 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 16*MHZ
SPIDEV bmi270 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 10*MHZ # Clock is 100Mhz so highest clock <= 10Mhz is 100Mhz/16
SPIDEV sdcard SPI1 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ
SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
@ -147,6 +148,7 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# one IMU
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270
IMU BMI270 SPI:bmi270 ROTATION_ROLL_180_YAW_270
# one BARO
BARO BMP280 I2C:0:0x76