-Os
to -Og -g3
in platform.txt (c and cpp flags)
// DBG_OUTPUT_PORT.printf("\n==== SPIFFS Info ====\n");
// DBG_OUTPUT_PORT.printf("FS Mount: %d\n", FS.mount());
// DBG_OUTPUT_PORT.printf("FS Size: %s\n", formatBytes(FS.size()));
// DBG_OUTPUT_PORT.printf("FS Bytes: total: %s, used: %s\n", formatBytes(FS.totalBytes()), formatBytes(FS.usedBytes()));
// DBG_OUTPUT_PORT.printf("FS Blocks: total: %d, free: %d, size: %s\n", FS.totalBlocks(), FS.freeBlocks(), formatBytes(FS.blockSize()));
// DBG_OUTPUT_PORT.printf("FS Pages: allocated: %d, deleted: %d, size: %s\n", FS.allocatedPages(), FS.deletedPages(), formatBytes(FS.pageSize()));