Replace SD card storage with on-board Flash filesystem (FFat), allocating 9MB internal storage partition for keepsakes

This commit is contained in:
drjones
2026-07-04 23:21:44 -07:00
parent e7f2f09819
commit 778a2f4bfe
5 changed files with 22 additions and 35 deletions

View File

@@ -2,15 +2,7 @@
#include "Arduino.h"
#include <cstring>
#include "FS.h"
#include "SD_MMC.h"
// SD card MMC pins (4-bit mode, fully compatible now LCD_CS is on GPIO 42)
#define SD_CLK_PIN 14
#define SD_CMD_PIN 15
#define SD_D0_PIN 16
#define SD_D1_PIN 18
#define SD_D2_PIN 17
#define SD_D3_PIN 21
#include "FFat.h"
#define MAX_MEMORIES 50
#define MAX_NAME_LEN 64