mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 02:38:07 +08:00
wrapper module to use a board specific barometer
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="baro_board" dir="sensors">
|
||||
<header>
|
||||
<file name="baro_board_module.h"/>
|
||||
</header>
|
||||
<init fun="baro_init()"/>
|
||||
<periodic fun="baro_periodic()" freq="60."/>
|
||||
<event fun="BaroEvent(baro_abs,baro_diff)"/>
|
||||
<makefile target="ap">
|
||||
<define name="USE_BARO_AS_ALTIMETER"/>
|
||||
<file name="baro_board.c" dir="boards/$(BOARD)"/>
|
||||
<define name="ADS1114_I2C_DEVICE" value="i2c1"/>
|
||||
<file name="ads1114.c" dir="peripherals"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user