diff --git a/platformio.ini b/platformio.ini index d5d8172de..3356cd1a3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -29,14 +29,14 @@ lib_deps_external = NeoPixelBus@2.4.3 ESPAsyncTCP@1.2.0 AsyncTCP@1.0.3 - EspAsyncWebServer@1.2.0 + Esp Async WebServer@1.2.0 #ArduinoJson@5.13.5 IRremoteESP8266@2.5.5 #Time@1.5 #Timezone@1.2.1 [common:esp8266] -platform = espressif8266@1.8.0 +platform = espressif8266@2.0.4 build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH diff --git a/wled00/html_mobile.h b/wled00/html_mobile.h index 4b4d751a3..79d5d51b4 100644 --- a/wled00/html_mobile.h +++ b/wled00/html_mobile.h @@ -16,7 +16,7 @@ const uint16_t PAGE_indexM_L = 91; //length of the binary payload const char PAGE_indexM[] PROGMEM = R"=====( Mobile UI is unsupported in this build. Go to /settings/ui and change UI mode to "Classic". )====="; -#else WLED_DISABLE_MOBILE_UI +#else const uint16_t PAGE_indexM_L = 19142; //length of the binary payload const uint8_t PAGE_indexM[] PROGMEM = { diff --git a/wled00/wled00.ino b/wled00/wled00.ino index 729728b97..f46fe0816 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -89,7 +89,7 @@ //version code in format yymmddb (b = daily build) -#define VERSION 1903062 +#define VERSION 1903071 char versionString[] = "0.8.4-dev"; @@ -540,9 +540,9 @@ void loop() { //DEBUG serial logging #ifdef WLED_DEBUG - if (millis() - debugTime > 5000) + if (millis() - debugTime > 9999) { - DEBUG_PRINTLN("---MODULE DEBUG INFO---"); + DEBUG_PRINTLN("---DEBUG INFO---"); DEBUG_PRINT("Runtime: "); DEBUG_PRINTLN(millis()); DEBUG_PRINT("Unix time: "); DEBUG_PRINTLN(now()); DEBUG_PRINT("Free heap: "); DEBUG_PRINTLN(ESP.getFreeHeap()); diff --git a/wled00/wled05_init.ino b/wled00/wled05_init.ino index 0801cab57..514ea9340 100644 --- a/wled00/wled05_init.ino +++ b/wled00/wled05_init.ino @@ -14,9 +14,22 @@ void wledInit() #endif Serial.begin(115200); Serial.setTimeout(50); + DEBUG_PRINTLN(); + DEBUG_PRINT("---WLED "); DEBUG_PRINT(versionString); DEBUG_PRINT(" "); DEBUG_PRINT(VERSION); DEBUG_PRINTLN(" INIT---"); + #ifdef ARDUINO_ARCH_ESP32 + DEBUG_PRINT("esp32 "); DEBUG_PRINTLN(ESP.getSdkVersion()); + #else + DEBUG_PRINT("esp8266 "); DEBUG_PRINTLN(ESP.getCoreVersion()); + #endif + int heapPreAlloc = ESP.getFreeHeap(); + DEBUG_PRINT("heap "); + DEBUG_PRINTLN(ESP.getFreeHeap()); strip.init(EEPROM.read(372),ledCount,EEPROM.read(2204)); //init LEDs quickly - + + DEBUG_PRINT("LEDs inited. heap usage ~"); + DEBUG_PRINTLN(heapPreAlloc - ESP.getFreeHeap()); + #ifdef USEFS SPIFFS.begin(); #endif diff --git a/wled00/wled15_hue.ino b/wled00/wled15_hue.ino index a67f38b0a..ac7d1c6aa 100644 --- a/wled00/wled15_hue.ino +++ b/wled00/wled15_hue.ino @@ -200,8 +200,7 @@ void onHueData(void* arg, AsyncClient* client, void *data, size_t len) } hueReceived = true; } - #else void handleHue(){} -bool reconnectHue(){} +void reconnectHue(){} #endif