Logo
Explore Help
Register Sign In
rbxii3/firmware
1
0
Fork 0
You've already forked firmware
mirror of https://github.com/meshtastic/firmware.git synced 2025-12-16 07:42:37 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
6b4907e8414be03c5b14e8ac663ea88bfd3ef419
firmware/src/FSCommon.cpp

23 lines
440 B
C++
Raw Normal View History

pull in new epaper lib (which required importing configuration.h everywhere for dumb reasons)
2021-06-27 10:56:28 -07:00
#include "configuration.h"
clean up filesystem goo, add spiffs to install scripts, fix #496 @mc-hamster seems to work pretty good for me, so I'll send a PR to you for the dev-http branch. I'll push out an android alpha build later today (once the build is complete). Once this new device load is out in the field _future_ device builds will support updating spiffs from android. (i.e. device loads older than 1.1.9 must be updated to 1.1.9 or later before spiffs support is implemented on the device side - so some users might need to update twice before the new spiffs contents will appear on their device)
2020-11-19 09:25:02 +08:00
#include "FSCommon.h"
void fsInit()
{
#ifdef FS
if (!FSBegin())
{
DEBUG_MSG("ERROR filesystem mount Failed\n");
assert(0); // FIXME - report failure to phone
}
DEBUG_MSG("Filesystem files:\n");
File dir = FS.open("/");
File f = dir.openNextFile();
while (f) {
DEBUG_MSG(" %s\n", f.name());
f.close();
f = dir.openNextFile();
}
#endif
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 302ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API