ESP32-S3: different GPIO mapping

- change pins 1/3 to RX and TX as defined by the framework
- adjusted 'isPinOk" method
This commit is contained in:
Frank
2022-09-02 23:54:58 +02:00
parent a67f9d86f7
commit 159c370bf0
4 changed files with 47 additions and 8 deletions

View File

@@ -696,7 +696,11 @@ void serializeInfo(JsonObject root)
wifi_info[F("txPower")] = (int) WiFi.getTxPower();
wifi_info[F("sleep")] = (bool) WiFi.getSleep();
#endif
root[F("arch")] = "esp32";
#if !defined(CONFIG_IDF_TARGET_ESP32C2) && !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32S3)
root[F("arch")] = "esp32";
#else
root[F("arch")] = ESP.getChipModel();
#endif
root[F("core")] = ESP.getSdkVersion();
//root[F("maxalloc")] = ESP.getMaxAllocHeap();
#ifdef WLED_DEBUG