Add bh1750, aht20, sgp40 drivers unified on native i2c_master API

Forked from managed_components (espressif/bh1750, espressif/aht20,
esp-idf-lib/sgp40) and rewrote aht20/sgp40 internals to use
driver/i2c_master.h directly instead of the i2c_bus and i2cdev
wrapper components, so all three sensors share one create/delete
handle pattern over a single i2c_master_bus_handle_t.
This commit is contained in:
Julien Lazarewicz
2026-07-05 23:27:50 +02:00
commit e940c767a6
19 changed files with 2441 additions and 0 deletions

4
sgp40/idf_component.yml Normal file
View File

@@ -0,0 +1,4 @@
dependencies:
idf: '>=5.3'
description: I2C driver for SGP40 VOC sensor (native driver/i2c_master.h API)
version: 2.0.0