Update low_flash.c

This commit is contained in:
MageDelfador 2025-10-15 16:19:27 +08:00
parent f1dd0fe687
commit 18d574c295

View file

@ -69,7 +69,11 @@ extern uint32_t FLASH_SIZE_BYTES;
#define FLASH_SIZE_BYTES (8 * 1024 * 1024)
#endif
#ifdef ESP_PLATFORM
#define TOTAL_FLASH_PAGES 512
#else
#define TOTAL_FLASH_PAGES 6
#endif
extern void flash_set_bounds(uintptr_t start, uintptr_t end);