Files
led-hoop/c/src/flash_store.h
T
jimmyandCursor b3e9fc9663 Port Soft-AP web UI and LED engine onto Pico 2 W C firmware.
Serve the ESP32 frontend over httpserver/WebSocket, drive eight WS2812 strips with PIO/DMA patterns on core1, and keep Wi-Fi control on core0.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 22:03:52 +12:00

21 lines
351 B
C

#ifndef FLASH_STORE_H
#define FLASH_STORE_H
#include <stddef.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
#define FLASH_STORE_MAX 4096
bool flash_store_load(const char *name, char *out, size_t out_len, size_t *out_size);
bool flash_store_save(const char *name, const char *data, size_t len);
#ifdef __cplusplus
}
#endif
#endif