From ca7f7ea61d2edbff77e4c499f6bc498fc9b33e62 Mon Sep 17 00:00:00 2001 From: nick Date: Tue, 30 Jun 2026 00:37:38 -0600 Subject: [PATCH] debug: isolate setup with config and relays only --- .../overland-controller.ino | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/firmware/esp32/overland-controller/overland-controller.ino b/firmware/esp32/overland-controller/overland-controller.ino index 999a525..cb991d8 100644 --- a/firmware/esp32/overland-controller/overland-controller.ino +++ b/firmware/esp32/overland-controller/overland-controller.ino @@ -4110,7 +4110,19 @@ void setup() { delay(2000); Serial.println(); - Serial.println("LilyGO compiled-project AP isolation test"); + Serial.println("LilyGO setup isolation: config + relays only"); + + heapCheckpoint("setup:start"); + + heapCheckpoint("before:loadConfig"); + loadConfig(); + heapCheckpoint("after:loadConfig"); + + printConfig(); + + heapCheckpoint("before:initRelays"); + initRelays(); + heapCheckpoint("after:initRelays"); WiFi.persistent(false); WiFi.setSleep(false); @@ -4121,13 +4133,16 @@ void setup() { IPAddress mask(255, 255, 255, 0); WiFi.softAPConfig(ip, gw, mask); - bool ok = WiFi.softAP("Overland-Isolation", "12345678", 6, false, 2); + bool ok = WiFi.softAP("Overland-Relays-Test", "12345678", 6, false, 2); Serial.print("softAP result: "); Serial.println(ok ? "OK" : "FAILED"); Serial.print("AP IP: "); Serial.println(WiFi.softAPIP()); + + heapCheckpoint("setup:end"); } + void projectSetupDisabled() { Serial.begin(115200); delay(500);