Browse Source

Show in the log if SPIFFS enabled but no SPIFFS partition

fastled
Xose Pérez 7 years ago
parent
commit
ab172d777e
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      code/esp8266.flash.1m0.ld
  2. +3
    -1
      code/espurna/espurna.ino

+ 1
- 1
code/esp8266.flash.1m0.ld View File

@ -1,4 +1,4 @@
/* Flash Split for 1M chips */
/* Flash Split for 1M chips, no SPIFFS */
/* sketch 999KB */
/* eeprom 20KB */


+ 3
- 1
code/espurna/espurna.ino View File

@ -119,8 +119,10 @@ void welcome() {
DEBUG_MSG_P(PSTR("[INIT] page size: %8u bytes\n"), fs_info.pageSize);
DEBUG_MSG_P(PSTR("[INIT] max files: %8u\n"), fs_info.maxOpenFiles);
DEBUG_MSG_P(PSTR("[INIT] max length: %8u\n"), fs_info.maxPathLength);
DEBUG_MSG_P(PSTR("\n"));
} else {
DEBUG_MSG_P(PSTR("[INIT] No SPIFFS partition\n"));
}
DEBUG_MSG_P(PSTR("\n"));
#endif
// -------------------------------------------------------------------------


Loading…
Cancel
Save