Skip to content

Commit 6e2c240

Browse files
committed
switch flash split to leave 512kB for CIRCUITPY
1 parent e0517c7 commit 6e2c240

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/raspberrypi/boards/raspberry_pi_pico_w/link.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
MEMORY
2525
{
26-
FLASH_FIRMWARE (rx) : ORIGIN = 0x10000000, LENGTH = 1788k
26+
FLASH_FIRMWARE (rx) : ORIGIN = 0x10000000, LENGTH = 1532k
2727
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
2828
SCRATCH_X (rwx) : ORIGIN = 0x20040000, LENGTH = 4k
2929
SCRATCH_Y (rwx) : ORIGIN = 0x20041000, LENGTH = 4k

ports/raspberrypi/boards/raspberry_pi_pico_w/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ CIRCUITPY_WIFI = 1
2121

2222
CFLAGS += -DCYW43_PIN_WL_HOST_WAKE=24 -DCYW43_PIN_WL_REG_ON=23 -DCYW43_WL_GPIO_COUNT=3 -DCYW43_WL_GPIO_LED_PIN=0
2323
# Must be accompanied by a linker script change
24-
CFLAGS += -DRESERVED_FLASH='(1792 * 1024)'
24+
CFLAGS += -DRESERVED_FLASH='(1532 * 1024)'

0 commit comments

Comments
 (0)