vitotai/BrewPiLess

All non-ESP32 build are currently broken on non-Mac hosts.

Closed this issue · 2 comments

After commit 55a7011 all non-ESP32 builds are broken on my linux host.
Compilation of BrewLogger.h fails because LITTLEFS.h can't be found.

This commit made all platforms use LITTLEFS.h while on ESP8266 the header is still LittleFS.h
No problem on a case-insensitive filesystems (Mac). Major problem on a proper OS. ;-)

Manually changing the #include line fixed it for me. No idea how to fix it for all other cases.

-#if defined(ESP32)
 #if UseLittleFS
-#include <LittleFS.h>
+#include <LITTLEFS.h> //#include <LittleFS.h>
 #else
 #include <SPIFFS.h>
 #endif
 -#endif

LittleFS.h is corrected.
I wanted to try LittleFS before it is included in the framework after 5.0(?).
https://github.com/lorol/LITTLEFS was the library used, and it uses "LITTLEFS.h".
That's it.

Nice. Bulds are working again with the current master.
Thx!