mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
982c6947a3
* [threads] Add binary semaphore timeout wait. * [i2c] Update blocking functions to be RTOS aware. * [SHT25] Refactor SHT25 driver as threaded I2C example. * [spi] Update blocking function to be RTOS aware. * [AMT22] add AMT22 driver using SPI blocking mode. --------- Co-authored-by: Fabien-B <Fabien-B@github.com>
17 lines
515 B
XML
17 lines
515 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="humid_sht_i2c" dir="meteo">
|
|
<doc>
|
|
<description>Sensirion SHT25 humidity sensor (I2C)</description>
|
|
<define name="SHT_I2C_DEV" value="i2cX" description="select i2c peripheral to use (default i2c0)"/>
|
|
</doc>
|
|
<header>
|
|
<file name="humid_sht_i2c.h"/>
|
|
</header>
|
|
<init fun="humid_sht_init_i2c()"/>
|
|
<periodic fun="humid_sht_periodic_i2c()" freq="4" delay="0."/>
|
|
<makefile target="ap">
|
|
<file name="humid_sht_i2c.c"/>
|
|
</makefile>
|
|
</module>
|