kopia lustrzana https://github.com/micropython/micropython
Update rp2_flash.c
Signed-off-by: JRay350 <121981733+JRay350@users.noreply.github.com>pull/14314/head
rodzic
53d0050255
commit
8ceaebd727
|
@ -36,7 +36,7 @@
|
||||||
#define BLOCK_SIZE_BYTES (FLASH_SECTOR_SIZE)
|
#define BLOCK_SIZE_BYTES (FLASH_SECTOR_SIZE)
|
||||||
|
|
||||||
#ifndef MICROPY_HW_FLASH_STORAGE_BYTES
|
#ifndef MICROPY_HW_FLASH_STORAGE_BYTES
|
||||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (1024 * 1024)
|
||||||
#endif
|
#endif
|
||||||
static_assert(MICROPY_HW_FLASH_STORAGE_BYTES % 4096 == 0, "Flash storage size must be a multiple of 4K");
|
static_assert(MICROPY_HW_FLASH_STORAGE_BYTES % 4096 == 0, "Flash storage size must be a multiple of 4K");
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue