Skip to content

Commit 13481ce

Browse files
vincentpoont2tridge
authored andcommitted
add bmi270 support to kakuteh7
1 parent 3c561e2 commit 13481ce

File tree

1 file changed

+2
-0
lines changed
  • libraries/AP_HAL_ChibiOS/hwdef/KakuteH7

1 file changed

+2
-0
lines changed

libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ DMA_NOSHARE SPI1*
130130
# spi devices
131131
SPIDEV mpu6000 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 4*MHZ
132132
SPIDEV icm42688 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 16*MHZ
133+
SPIDEV bmi270 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 10*MHZ # Clock is 100Mhz so highest clock <= 10Mhz is 100Mhz/16
133134
SPIDEV sdcard SPI1 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ
134135
SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
135136

@@ -147,6 +148,7 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
147148
# one IMU
148149
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
149150
IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270
151+
IMU BMI270 SPI:bmi270 ROTATION_ROLL_180_YAW_270
150152

151153
# one BARO
152154
BARO BMP280 I2C:0:0x76

0 commit comments

Comments
 (0)