|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Bind the WAL store's ::WalDev block-device seam to a real fs::FS file (DETWS_ENABLE_WAL, ESP32 only). More...
#include "ServerConfig.h"Go to the source code of this file.
Bind the WAL store's ::WalDev block-device seam to a real fs::FS file (DETWS_ENABLE_WAL, ESP32 only).
The store in wal_store.h does all I/O through three function pointers so its logic stays pure and host-testable; this header is the thin, device-only adapter that points those pointers at a preallocated fs::File on any Arduino filesystem - an SD card or LittleFS. Random access uses File::seek, and the durability barrier is File::flush.
Usage:
The backing file is preallocated to a fixed size so every store offset lands inside it and seek+write overwrites in place (no sparse-file / past-EOF behavior differences between FAT and LittleFS). The fs::File must outlive any ::WalDev bound to it.
Definition in file wal_fs.h.