From beb4135616c85fe647cc72694bdd55921831d074 Mon Sep 17 00:00:00 2001 From: Nick Reynolds Date: Sat, 8 Oct 2022 18:25:23 +0100 Subject: [PATCH] Make prepareFilesystem.ino more verbose so it shows the files in LittleFS --- examples/prepareFilesystem/prepareFilesystem.ino | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/prepareFilesystem/prepareFilesystem.ino b/examples/prepareFilesystem/prepareFilesystem.ino index 7f88204..eae58d8 100644 --- a/examples/prepareFilesystem/prepareFilesystem.ino +++ b/examples/prepareFilesystem/prepareFilesystem.ino @@ -3,7 +3,12 @@ void setup(void) { Serial.begin(115200); - ESPUI.prepareFileSystem(); + ESPUI.setVerbosity(Verbosity::Verbose); //Enable verbose output so you see the files in LittleFS + delay(500); //Delay to allow Serial Monitor to start after a reset + Serial.println(F("\nPreparing filesystem with ESPUI resources")); + ESPUI.prepareFileSystem(); //Copy across current version of ESPUI resources + Serial.println(F("Done, files...")); + ESPUI.list(); //List all files on LittleFS, for info } void loop()