mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="board_matek_f405_wing" dir="boards">
|
|
<doc>
|
|
<description>
|
|
Autoload several onboard sensors and modules
|
|
for the Matek F405 Wing board with proper configuration.
|
|
IMU MPU6000
|
|
Baro (BMP280)
|
|
OSD
|
|
Normal front of the board is on the servo S3-S8 servo connector
|
|
Normal up of the board is on STM32F405 side.
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>spi_master,osd_max7456,baro_bmp280_i2c</depends>
|
|
</dep>
|
|
<autoload name="imu" type="mpu6000"/>
|
|
|
|
<makefile target="!sim|nps|fbw">
|
|
<!-- IMU CONFIGURATION -->
|
|
<configure name="IMU_MPU_SPI_DEV" value="spi1" case="upper|lower"/>
|
|
<configure name="IMU_MPU_SPI_SLAVE_IDX" value="SPI_SLAVE0"/>
|
|
<!-- BAROMETER BMP280 CONFIGURATION -->
|
|
<configure name="BMP280_I2C_DEV" value="i2c1" />
|
|
<configure name="BMP280_SLAVE_ADDR" value="BMP280_I2C_ADDR" />
|
|
<!-- OSD CONFIGURATION -->
|
|
<configure name="MAX7456_SPI_DEV" value="spi2" />
|
|
<configure name="MAX7456_SLAVE_IDX" value="SPI_SLAVE1" />
|
|
<define name="USE_MATEK_TYPE_OSD_CHIP" value="true" />
|
|
<define name="USE_PAL_FOR_OSD_VIDEO" value="true" />
|
|
<define name="BARO_ALTITUDE_VAR" value="baro_alt" /> <!-- if non defined the default var is ''baro_alt'' -->
|
|
</makefile>
|
|
</module>
|