From ab172d777ecbb72a4e2e0513bbc6a50411c1eaf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 4 Sep 2017 12:57:12 +0200 Subject: [PATCH] Show in the log if SPIFFS enabled but no SPIFFS partition --- code/esp8266.flash.1m0.ld | 2 +- code/espurna/espurna.ino | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/esp8266.flash.1m0.ld b/code/esp8266.flash.1m0.ld index 1f9b56a8..dbb44e94 100644 --- a/code/esp8266.flash.1m0.ld +++ b/code/esp8266.flash.1m0.ld @@ -1,4 +1,4 @@ -/* Flash Split for 1M chips */ +/* Flash Split for 1M chips, no SPIFFS */ /* sketch 999KB */ /* eeprom 20KB */ diff --git a/code/espurna/espurna.ino b/code/espurna/espurna.ino index a226e790..53c88cca 100644 --- a/code/espurna/espurna.ino +++ b/code/espurna/espurna.ino @@ -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 // -------------------------------------------------------------------------