Replace SD card storage with on-board Flash filesystem (FFat), allocating 9MB internal storage partition for keepsakes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user