I am working on a small web server project with OTA update capability. I'm trying to use the official packages, and am not sure if I'm not doing something right, or perhaps the S3 isn't supported like I think it should be.
My platformio.ini file:
Code: Select all
[env:esp32-s3-devkitc-1]
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.3/platform-espressif32-2.0.2.3.zip ; wifi works, but OTA updates don't
; platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.3rc1/platform-espressif32-2.0.3new.zip ; wifi doesn't work
; platform = https://github.com/tasmota/platform-espressif32/releases/download/2022.12.0/platform-espressif32.zip ; wifi fails
; platform = espressif32
; platform = https://github.com/platformio/platform-espressif32.git ; boot loop
; platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#master
board = esp32-s3-devkitc-1
framework = arduino
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
Code: Select all
#include <Arduino.h>
// #include <WiFi.h>
const char* ssid = "ssid";
const char* password = "password";
void setup(void) {
Serial.begin(115200);
// WiFi.mode(WIFI_STA);
// WiFi.begin(ssid, password);
Serial.println("Compiled at " + String(__TIME__) + " " + String(__DATE__));
// uint32_t wifiTimeout = 30000;
// while (WiFi.status() != WL_CONNECTED) {
// delay(500);
// Serial.println(WiFi.status());
// Serial.println(String((int)((millis()/(float)wifiTimeout)*100)) + "% ");
// }
}
void loop(void) { }
- no bootloop
- wifi works
- OTA updates don't work
- no bootloop
- wifi.status() returns 255
- bootloop