Dyn flash size (#2933)

This commit is contained in:
Totoo
2026-01-22 15:24:42 +01:00
committed by GitHub
parent 86d7b345d0
commit 7a2b432bfa
16 changed files with 130 additions and 25 deletions
+3 -1
View File
@@ -28,8 +28,10 @@
#include "debug.hpp"
#include "portapack_shared_memory.hpp"
#include "../flashsize.h"
#define PAGE_LEN 256U
#define NUM_PAGES 4096U
#define NUM_PAGES (4096U * FLASH_SIZE_MB)
void initialize_flash();
void erase_flash();