switch flash split to leave 512kB for CIRCUITPY

This commit is contained in:
Jeff Epler 2022-10-06 10:12:22 -05:00
parent e0517c7379
commit 6e2c24083a
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
MEMORY
{
FLASH_FIRMWARE (rx) : ORIGIN = 0x10000000, LENGTH = 1788k
FLASH_FIRMWARE (rx) : ORIGIN = 0x10000000, LENGTH = 1532k
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
SCRATCH_X (rwx) : ORIGIN = 0x20040000, LENGTH = 4k
SCRATCH_Y (rwx) : ORIGIN = 0x20041000, LENGTH = 4k

View File

@ -21,4 +21,4 @@ CIRCUITPY_WIFI = 1
CFLAGS += -DCYW43_PIN_WL_HOST_WAKE=24 -DCYW43_PIN_WL_REG_ON=23 -DCYW43_WL_GPIO_COUNT=3 -DCYW43_WL_GPIO_LED_PIN=0
# Must be accompanied by a linker script change
CFLAGS += -DRESERVED_FLASH='(1792 * 1024)'
CFLAGS += -DRESERVED_FLASH='(1532 * 1024)'