mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
8be5c426b6
Start working on #940 This replaces ```xml <depend require="foo|bar" conflict="baz"/> ``` with ```xml <depends>foo,bar</depends> <conflicts>baz</conflicts> ``` and now allows to specify OR dependencies with | (pipe) similaro to Debian depends: ```xml <depends>foo,bar,this|that</depends> ``` which would depend on: foo AND bar AND (this OR that)
23 lines
612 B
XML
23 lines
612 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="airspeed_ads1114" dir="sensors">
|
|
<doc>
|
|
<description>
|
|
ADS1114 airspeed sensor.
|
|
Module to extend the baro_board module with an airspeed sensor using ads1114 adc
|
|
</description>
|
|
</doc>
|
|
<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>
|
|
|
|
|