mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 03:43:26 +08:00
24 lines
837 B
XML
24 lines
837 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="baro_bmp" dir="sensors">
|
|
<doc>
|
|
<description>Bosch BMP085 pressure sensor</description>
|
|
<configure name="BMP_I2C_DEV" value="i2cX" description="select which i2c peripheral to use (default i2c0)"/>
|
|
<define name="SENSOR_SYNC_SEND" description="flag to transmit the data as it is acquired"/>
|
|
</doc>
|
|
<header>
|
|
<file name="baro_bmp.h"/>
|
|
</header>
|
|
<init fun="baro_bmp_init()"/>
|
|
<periodic fun="baro_bmp_periodic()" freq="15"/>
|
|
<event fun="baro_bmp_event()"/>
|
|
<makefile target="ap">
|
|
<configure name="BMP_I2C_DEV" default="i2c0" case="upper|lower"/>
|
|
<define name="USE_$(BMP_I2C_DEV_UPPER)"/>
|
|
<define name="BMP_I2C_DEV" value="$(BMP_I2C_DEV_LOWER)"/>
|
|
<file name="baro_bmp.c"/>
|
|
<file name="bmp085.c" dir="peripherals"/>
|
|
</makefile>
|
|
</module>
|
|
|