mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-20 17:23:49 +02:00
Increase buffer size for non-pico.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
|
||||
#if !defined(PICO_PLATFORM)
|
||||
#define XIP_BASE 0
|
||||
#define FLASH_SECTOR_SIZE 4096
|
||||
#ifdef ENABLE_EMULATION
|
||||
#define FLASH_SECTOR_SIZE 0x4000
|
||||
#else
|
||||
#define FLASH_SECTOR_SIZE 0x1000
|
||||
#endif
|
||||
#ifdef ESP_PLATFORM
|
||||
uint32_t FLASH_SIZE_BYTES = (1 * 1024 * 1024);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user