mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
23 lines
803 B
XML
23 lines
803 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="baro_scp_i2c" dir="sensors">
|
|
<doc>
|
|
<description>VTI SCP1000 pressure sensor (I2C)</description>
|
|
<configure name="SCP_I2C_DEV" value="i2cX" description="select 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_scp_i2c.h"/>
|
|
</header>
|
|
<init fun="baro_scp_init()"/>
|
|
<periodic fun="baro_scp_periodic()" freq="1.8"/>
|
|
<event fun="baro_scp_event()"/>
|
|
<makefile target="ap">
|
|
<configure name="SCP_I2C_DEV" default="i2c0" case="upper|lower"/>
|
|
<define name="USE_$(SCP_I2C_DEV_UPPER)"/>
|
|
<define name="SCP_I2C_DEV" value="$(SCP_I2C_DEV_LOWER)"/>
|
|
<file name="baro_scp_i2c.c"/>
|
|
</makefile>
|
|
</module>
|
|
|