|
@ -85,9 +85,12 @@ void welcome() { |
|
|
DEBUG_MSG("%s\n%s\n\n", (char *) APP_AUTHOR, (char *) APP_WEBSITE); |
|
|
DEBUG_MSG("%s\n%s\n\n", (char *) APP_AUTHOR, (char *) APP_WEBSITE); |
|
|
//DEBUG_MSG("Device: %s\n", (char *) getIdentifier().c_str());
|
|
|
//DEBUG_MSG("Device: %s\n", (char *) getIdentifier().c_str());
|
|
|
DEBUG_MSG("ChipID: %06X\n", ESP.getChipId()); |
|
|
DEBUG_MSG("ChipID: %06X\n", ESP.getChipId()); |
|
|
|
|
|
DEBUG_MSG("CPU frequency: %d MHz\n", ESP.getCpuFreqMHz()); |
|
|
DEBUG_MSG("Last reset reason: %s\n", (char *) ESP.getResetReason().c_str()); |
|
|
DEBUG_MSG("Last reset reason: %s\n", (char *) ESP.getResetReason().c_str()); |
|
|
DEBUG_MSG("Memory size: %d bytes\n", ESP.getFlashChipSize()); |
|
|
DEBUG_MSG("Memory size: %d bytes\n", ESP.getFlashChipSize()); |
|
|
DEBUG_MSG("Free heap: %d bytes\n", ESP.getFreeHeap()); |
|
|
DEBUG_MSG("Free heap: %d bytes\n", ESP.getFreeHeap()); |
|
|
|
|
|
DEBUG_MSG("Firmware size: %d bytes\n", ESP.getSketchSize()); |
|
|
|
|
|
DEBUG_MSG("Free firmware space: %d bytes\n", ESP.getFreeSketchSpace()); |
|
|
FSInfo fs_info; |
|
|
FSInfo fs_info; |
|
|
if (SPIFFS.info(fs_info)) { |
|
|
if (SPIFFS.info(fs_info)) { |
|
|
DEBUG_MSG("File system total size: %d bytes\n", fs_info.totalBytes); |
|
|
DEBUG_MSG("File system total size: %d bytes\n", fs_info.totalBytes); |
|
|