Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
board_matek_f405_wing module

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.

Example for airframe file

Add to your firmware section:

<module name="board_matek_f405_wing"/>

Files

Raw board_matek_f405_wing.xml file:

<!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,imu_mpu6000</depends>
</dep>
<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>