diff --git a/platformio.ini b/platformio.ini index be4ed0b3..9a9933a8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1977,6 +1977,7 @@ build_unflags = ${common.build_unflags} -D WLED_ENABLE_DMX ;; disabled because it does not work with ESP-IDF 4.4.x (buggy driver in SparkFunDMX) -D WLED_ENABLE_DMX_INPUT ;; needs more testing -DWLEDMM_FASTPATH ;; needs more testing on -S2 + -DUSERMOD_RTC build_flags = ${common.build_flags} ${esp32s2.build_flags} ; ${Debug_Flags.build_flags} ;ewowi: enabling debug causes Error: The program size (1463330 bytes) is greater than maximum allowed (1441792 bytes) @@ -2012,8 +2013,8 @@ lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation OneWire ; not needed as we don't include USERMOD_DALLASTEMPERATURE monitor_filters = esp32_exception_decoder -; RAM: [=== ] 33.0% (used 108276 bytes from 327680 bytes) -; Flash: [==========] 97.9% (used 1411114 bytes from 1441792 bytes) !!! 98% +; RAM: [== ] 21.5% (used 70448 bytes from 327680 bytes) +; Flash: [==========] 99.5% (used 1434054 bytes from 1441792 bytes) !!! 99% ;; MM environment for generic ESP32-S2, with PSRAM, 4MB flash (300kB filesystem to have more program space) ;; PINs assignments optimized for use with serg74 "mini shield" diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 52c1b321..4b2d6609 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -681,7 +681,7 @@ pinManager.allocateMultiplePins(pins, sizeof(pins)/sizeof(managed_pin_type), Pin updateFSInfo(); USER_PRINT(F("done Mounting FS; ")); - USER_PRINT(((fsBytesTotal-fsBytesUsed)/1024)); USER_PRINTLN(F(" kB free.")); + USER_PRINT(((fsBytesTotal-fsBytesUsed)/1024)); USER_PRINTLN(F(" kB free.\n")); // generate module IDs must be done before AP setup escapedMac = WiFi.macAddress(); @@ -705,7 +705,7 @@ pinManager.allocateMultiplePins(pins, sizeof(pins)/sizeof(managed_pin_type), Pin beginStrip(); DEBUG_PRINT(F("heap ")); DEBUG_PRINTLN(ESP.getFreeHeap()); - USER_PRINTLN(F("Usermods setup ...")); + USER_PRINTLN(F("\nUsermods setup ...")); userSetup(); usermods.setup(); DEBUG_PRINT(F("heap ")); DEBUG_PRINTLN(ESP.getFreeHeap()); @@ -721,7 +721,7 @@ pinManager.allocateMultiplePins(pins, sizeof(pins)/sizeof(managed_pin_type), Pin //Serial RX (Adalight, Improv, Serial JSON) only possible if GPIO3 unused //Serial TX (Debug, Improv, Serial JSON) only possible if GPIO1 unused if (!pinManager.isPinAllocated(hardwareRX) && !pinManager.isPinAllocated(hardwareTX)) { - if (Serial) Serial.println(F("Ada")); + if (Serial) Serial.println(F("\nAda")); } #endif @@ -852,7 +852,7 @@ pinManager.allocateMultiplePins(pins, sizeof(pins)/sizeof(managed_pin_type), Pin // repeat Ada prompt #ifdef WLED_ENABLE_ADALIGHT if (!pinManager.isPinAllocated(hardwareRX) && !pinManager.isPinAllocated(hardwareTX)) { - if (Serial) Serial.println(F("Ada")); + if (Serial) Serial.println(F("\nAda")); } #endif