mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-19 02:22:21 +08:00
bcaba7c720
modules developpers can provide - a description of the module - a list of the configuration variables and flags (configure and define) - a list of sections to add to the airframe file
26 lines
781 B
XML
26 lines
781 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<!--
|
|
Hygrosens TEMOD-I2C-Rx temperature sensor
|
|
@define SCP_I2C_DEV i2c device (default i2c0)
|
|
@define TEMOD_TYPE device type (default TEMOD_I2C_R1)
|
|
-->
|
|
|
|
<module name="temp_temod" dir="meteo">
|
|
<doc>
|
|
<description>Hygrosens TEMOD-I2C-Rx temperature sensor</description>
|
|
<define name="SCP_I2C_DEV" value="i2cX" description="select i2c peripheral to use (default i2c0)"/>
|
|
<define name="TEMOD_TYPE" value="type" description="device type (default TEMOD_I2C_R1)"/>
|
|
</doc>
|
|
<header>
|
|
<file name="temp_temod.h"/>
|
|
</header>
|
|
<init fun="temod_init()"/>
|
|
<periodic fun="temod_periodic()" freq="8"/>
|
|
<event fun="temod_event()"/>
|
|
<makefile target="ap">
|
|
<file name="temp_temod.c"/>
|
|
</makefile>
|
|
</module>
|
|
|