mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:58:48 +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
22 lines
696 B
XML
22 lines
696 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
<!-- Module to extend the baro_board module with an airspeed sensor using ads1114 adc -->
|
|
|
|
<module name="airspeed_ads1114" dir="sensors">
|
|
<doc>
|
|
<description>Module to extend the baro_board module with an airspeed sensor using ads1114 adc</description>
|
|
</doc>
|
|
<depend require="baro_board.xml"/>
|
|
<header>
|
|
<file name="airspeed_ads1114.h"/>
|
|
</header>
|
|
<periodic fun="airspeed_periodic()" freq="60."/>
|
|
<makefile target="ap">
|
|
<file name="airspeed_ads1114.c"/>
|
|
<define name="USE_BARO_DIFF"/>
|
|
<define name="USE_ADS1114_2"/>
|
|
<define name="ADS1114_2_PGA" value="0x1"/> <!-- PGA gain = 1 (+/- 4.096V) -->
|
|
</makefile>
|
|
</module>
|
|
|
|
|