nrf54l15: fix SHT4x libdep -- arduino-sht, not Adafruit_SHT4X (#10515)

SHTXXSensor (the SHT4x driver) includes <SHTSensor.h>, gated by
__has_include(<SHTSensor.h>). That header ships in Sensirion/arduino-sht.
Adafruit_SHT4X ships Adafruit_SHT4X.h and has no consumer anywhere in
src/, so the SHT40 driver was silently excluded from the build -- the
nRF54L15 variant could not read an SHT4x sensor as committed in #10193.

Replace the dead Adafruit_SHT4X libdep with arduino-sht v1.2.6.
Validated on nRF54L15-DK: SHT40-AD1B @0x44, 24.3h soak, 0 reboots,
temperature/humidity telemetry stable end-to-end.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Carlos Valdes
2026-05-21 11:00:10 -05:00
committed by GitHub
co-authored by GitHub Claude Opus 4.7 Ben Meadors
parent 5e69bc6c3f
commit e10e13226d
+4 -1
View File
@@ -66,7 +66,10 @@ lib_deps =
https://github.com/adafruit/Adafruit_INA219/archive/refs/tags/1.2.3.zip
https://github.com/RobTillaart/INA3221_RT/archive/refs/tags/0.4.2.zip
https://github.com/RobTillaart/INA226/archive/refs/tags/0.6.6.zip
https://github.com/adafruit/Adafruit_SHT4X/archive/refs/tags/1.0.5.zip
; SHTXXSensor gates on __has_include(<SHTSensor.h>), a header shipped by
; Sensirion/arduino-sht. Adafruit_SHT4X ships Adafruit_SHT4X.h instead and
; has no consumer in src/, so it left the SHT40 driver out of the build.
https://github.com/Sensirion/arduino-sht/archive/refs/tags/v1.2.6.zip
lib_ignore =
BluetoothOTA