Add initial support for ESP32-C3 (#2454)

* WIP Add support for ESP32-C3

* Add esp32c3 to default_envs

* Use new platform from tasmota

* Switch back to 2.8.1 as it seems by fixed
This commit is contained in:
André Klitzing
2022-01-24 11:34:02 +01:00
committed by GitHub
parent 742c792ec7
commit eca980dfca
4 changed files with 138 additions and 43 deletions

View File

@@ -573,7 +573,7 @@ void WLED::initConnection()
if (staticIP[0] != 0 && staticGateway[0] != 0) {
WiFi.config(staticIP, staticGateway, staticSubnet, IPAddress(1, 1, 1, 1));
} else {
WiFi.config(0U, 0U, 0U);
WiFi.config(IPAddress((uint32_t)0), IPAddress((uint32_t)0), IPAddress((uint32_t)0));
}
lastReconnectAttempt = millis();
@@ -804,4 +804,4 @@ void WLED::handleStatusLED()
}
#endif
}
}