Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hwdef: Add icm42688 support for KakuteH7Mini #28469

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/KakuteH7Mini/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ DMA_NOSHARE SPI1* SPI4*

# spi devices
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 osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ

Expand All @@ -146,8 +147,9 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0
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 Invensensev3 SPI:icm42688 ROTATION_PITCH_180_YAW_90

# one BARO
BARO BMP280 I2C:0:0x76
Expand Down
Loading