Initial commit

This commit is contained in:
2025-12-13 03:36:06 +01:00
commit b424321bc0
62 changed files with 19669 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#ifndef LITTLEFS_WRAPPER_H
#define LITTLEFS_WRAPPER_H
#include <Arduino.h>
#define USE_LittleFS
//#define DEBUGGING // Einkommentieren für die Serielle Ausgabe
#ifdef DEBUGGING
#define DEBUG_B(...) Serial.begin(__VA_ARGS__)
#define DEBUG_P(...) Serial.println(__VA_ARGS__)
#define DEBUG_F(...) Serial.printf(__VA_ARGS__)
#else
#define DEBUG_B(...)
#define DEBUG_P(...)
#define DEBUG_F(...)
#endif
bool handle_file(String &&path);
bool handle_list();
const String format_bytes(size_t const &bytes);
void delete_recursive(const String &path);
void format_filesystem();
void handle_upload();
void send_response();
void setup_filesystem();
#endif /* LITTLEFS_WRAPPER_H */