Fixed platformio compilation
Added more debug info in serial on boot
This commit is contained in:
parent
709ff7a701
commit
7274541722
@ -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
|
||||
|
||||
|
@ -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 = {
|
||||
|
@ -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());
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user