firmware: v20 — ESP8266 sin OTA/WiFi, ESP32-CAM mantiene OTA
ESP8266: - Eliminado completamente WiFi, BearSSL, HTTPClient, ESPhttpUpdate - Firmware pasa de 375KB a 240KB (sin stack WiFi) - Sin interferencia de WiFi con analogWrite/PWM de motores - Se mantiene: waitForReady(), 2 pitidos conexion, watchdog 1.5s - Solo se actualiza por USB (el hardware cambia poco) ESP32-CAM: - OTA sin cambios, version -> 20 - Indicador OTA: 3 x Serial H1/H0 -> 3 flashes LED GPIO4 (el ESP8266 estaba en waitForReady() y no procesaba Serial) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// ================================================================
|
||||
// OTA CONFIG
|
||||
// ================================================================
|
||||
#define FW_VERSION 19
|
||||
#define FW_VERSION 20
|
||||
#define GITEA_HOST "https://git.nacho.myds.me"
|
||||
#define GITEA_OWNER "Natxo"
|
||||
#define GITEA_REPO "Arduino-Car"
|
||||
@@ -71,12 +71,11 @@ static void checkOTA() {
|
||||
int remoteVer = body.toInt();
|
||||
if (remoteVer <= FW_VERSION) return; // ya tenemos la última versión
|
||||
|
||||
// 3 pitidos = ESP32-CAM actualizando (via Serial al ESP8266)
|
||||
// 3 flashes LED = ESP32-CAM actualizando
|
||||
// (ESP8266 en waitForReady(), no puede recibir Serial en este momento)
|
||||
for (int i = 0; i < 3; i++) {
|
||||
Serial.print("H1");
|
||||
delay(150);
|
||||
Serial.print("H0");
|
||||
delay(150);
|
||||
ledcWrite(LED_GPIO_NUM, 255); delay(150);
|
||||
ledcWrite(LED_GPIO_NUM, 0); delay(150);
|
||||
}
|
||||
delay(300);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user