Paparazzi UAS  v5.18.0_stable-1-g6993852-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
board_matek_f405_wing module

Autoload several onboard sensors and subsystems

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:

1 <module name="board_matek_f405_wing"/>

Auto-loaded modules

The following modules are automatically loaded (just as if you had added them in the airframe file)

  • module__imumpu6000

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 subsystems
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>