Add ESP32S3 (Liligo) as S3 Mini

This commit is contained in:
MichaelDvP
2023-01-11 18:33:44 +01:00
parent 285b0dc01d
commit 1f0d2b147b
8 changed files with 42 additions and 3 deletions

View File

@@ -70,6 +70,11 @@ void UploadFileService::handleUpload(AsyncWebServerRequest * request, const Stri
handleError(request, 503); // service unavailable
return;
}
#elif CONFIG_IDF_TARGET_ESP32S3
if (len > 12 && (data[0] != 0xE9 || data[12] != 3)) {
handleError(request, 503); // service unavailable
return;
}
#endif
// it's firmware - initialize the ArduinoOTA updater
if (Update.begin(fsize)) {