From 73b818cf78afae8ff130be0c32e892c52c936072 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Sat, 10 Sep 2022 20:19:13 +0200 Subject: [PATCH] Fix for S3 pins. --- wled00/xml.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wled00/xml.cpp b/wled00/xml.cpp index 6d562172..8246485f 100644 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -241,8 +241,10 @@ void appendGPIOinfo() { // add info for read-only GPIO oappend(SET_F("d.ro_gpio=[")); - #if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32S3) + #if defined(CONFIG_IDF_TARGET_ESP32S2) oappendi(46); + #elif defined(CONFIG_IDF_TARGET_ESP32S3) + oappend(SET_F("39,41,42,44")); #elif defined(CONFIG_IDF_TARGET_ESP32C3) // none for C3 #elif defined(ESP32) @@ -254,8 +256,10 @@ void appendGPIOinfo() { // add info about max. # of pins oappend(SET_F("d.max_gpio=")); - #if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32S3) + #if defined(CONFIG_IDF_TARGET_ESP32S2) oappendi(46); + #elif defined(CONFIG_IDF_TARGET_ESP32S3) + oappendi(48); #elif defined(CONFIG_IDF_TARGET_ESP32C3) oappendi(21); #elif defined(ESP32)