From e10e13226d706feace78a32c09e6d8cdd710a107 Mon Sep 17 00:00:00 2001 From: Carlos Valdes Date: Thu, 21 May 2026 18:00:10 +0200 Subject: [PATCH] nrf54l15: fix SHT4x libdep -- arduino-sht, not Adafruit_SHT4X (#10515) SHTXXSensor (the SHT4x driver) includes , gated by __has_include(). 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) Co-authored-by: Ben Meadors --- variants/nrf54l15/nrf54l15.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/variants/nrf54l15/nrf54l15.ini b/variants/nrf54l15/nrf54l15.ini index 4e6fa3f01..45dab1a41 100644 --- a/variants/nrf54l15/nrf54l15.ini +++ b/variants/nrf54l15/nrf54l15.ini @@ -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(), 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