Skip to content

Commit

Permalink
add bmi270 support to kakuteh7
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentpoont2 authored and tridge committed Dec 9, 2024
1 parent 3c561e2 commit 13481ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 13481ce

Please sign in to comment.