mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
33ebce980a
Doxygen / build (push) Waiting to run
--------- Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
26 lines
926 B
XML
26 lines
926 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="board_tmotor_aiof7" dir="boards">
|
|
<doc>
|
|
<description>
|
|
Autoload several onboard sensors for the T-Motor aiof7 board with proper configuration
|
|
- IMU (MPU6500)
|
|
- Baro (BMP280 SPI)
|
|
- Mag (Externe)
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>imu_mpu6000,baro_bmp280</depends>
|
|
</dep>
|
|
<makefile target="!sim|nps|fbw">
|
|
<configure name="IMU_SPI_DEV" value="spi1" case="upper|lower"/>
|
|
<configure name="IMU_SPI_SLAVE_IDX" value="SPI_SLAVE0"/>
|
|
<define name="TMOTOR_AIO_IMU_ROT" value=".body_to_sensor={{16383,0,0,0,-16383,0,0,0,-16382}}"/>
|
|
<define name="TMOTOR_AIO_MAG_ROT" value=".body_to_sensor={{11585,11585,0,-11585,11585,0,0,0,16382}}"/>
|
|
|
|
<configure name="BMP280_USE_SPI" value="TRUE"/>
|
|
<configure name="BMP280_DEV" value="spi3"/>
|
|
<configure name="BMP280_SLAVE_IDX" value="SPI_SLAVE3"/>
|
|
</makefile>
|
|
</module>
|