mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-12 02:27:35 +00:00
The touch UI (src/ui-touch, unmodified apart from WADA_WEB board guards) builds for macOS with CMake and runs in an SDL2 window: a compat layer for the Arduino/ESP-IDF/FreeRTOS surface, a MyMesh stand-in with a MeshBackend interface (DemoBackend now), and the web board's SDL display/touch/keyboard drivers. WEB_BUILD.md follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
471 B
C++
17 lines
471 B
C++
#pragma once
|
|
// LittleFS on a host: same mechanism as SPIFFS.h, over <data>/littlefs (the tiles partition).
|
|
#include "arduino/FS.h"
|
|
namespace fs {
|
|
class LittleFSFS : public FS {
|
|
public:
|
|
LittleFSFS();
|
|
bool begin(bool formatOnFail = false, const char* basePath = "/littlefs", uint8_t maxOpenFiles = 10,
|
|
const char* partitionLabel = "spiffs");
|
|
bool format();
|
|
size_t totalBytes();
|
|
size_t usedBytes();
|
|
void end();
|
|
};
|
|
}
|
|
extern fs::LittleFSFS LittleFS;
|