Update low_flash.c
This commit is contained in:
parent
f1dd0fe687
commit
18d574c295
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue