Default settings for Matek H743 SLIM imu
MPU6000 IMU via SPI.
Example for airframe file
Add to your firmware section:
<module name="imu_matek_h743_slim"/>
Files
Raw imu_matek_h743_slim.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_matek_h743_slim" dir="imu" task="sensors">
<doc>
<description>
Default settings for Matek H743 SLIM imu
MPU6000 IMU via SPI.
</description>
</doc>
<dep>
<depends>imu_mpu6000</depends>
</dep>
<makefile target="!sim|nps|fbw">
<configure name="IMU_MPU_SPI_DEV" value="spi1" case="upper|lower"/>
<configure name="IMU_MPU_SPI_SLAVE_IDX" value="SPI_SLAVE5"/>
<define name="IMU_MPU_CHAN_X" value="0"/>
<define name="IMU_MPU_CHAN_Y" value="1"/>
<define name="IMU_MPU_CHAN_Z" value="2"/>
<define name="IMU_MPU_X_SIGN" value="-1"/>
<define name="IMU_MPU_Y_SIGN" value="-1"/>
<define name="IMU_MPU_Z_SIGN" value="1"/>
</makefile>
</module>