From 3c171c1ed8d930af2d9d0dc49a4fdc11498455da Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 27 Feb 2025 12:15:20 +0100 Subject: [PATCH] Compile lib NeopixelBus only for esp8266 (#23077) * force mode strict for pixels lib * Use lib NeoPixelBus only for esp8266 --- lib/lib_basic/NeoPixelBus/library.json | 8 ++------ lib/lib_basic/TasmotaLED/library.json | 1 + 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/lib_basic/NeoPixelBus/library.json b/lib/lib_basic/NeoPixelBus/library.json index 306e6e094..3a5561970 100644 --- a/lib/lib_basic/NeoPixelBus/library.json +++ b/lib/lib_basic/NeoPixelBus/library.json @@ -9,11 +9,7 @@ }, "version": "2.6.7", "frameworks": "arduino", - "platforms": "*", - "dependencies": [ - { - "name": "SPI" - } - ] + "libCompatMode": "strict", + "platforms": ["espressif8266"] } diff --git a/lib/lib_basic/TasmotaLED/library.json b/lib/lib_basic/TasmotaLED/library.json index 8ee6079f5..610467c6c 100644 --- a/lib/lib_basic/TasmotaLED/library.json +++ b/lib/lib_basic/TasmotaLED/library.json @@ -11,6 +11,7 @@ "url": "https://github.com/arendst/Tasmota/lib/lib_basic/TasmotaLED" }, "frameworks": "arduino", + "libCompatMode": "strict", "platforms": [ "espressif32" ]