Skip to content

Commit aec03a4

Browse files
committed
Lower default flash speed.
/ 6 leads to ~40mhz. 2M and 4M have a max 0x03 read speed of 60mhz. If the divisor is / 4 then the speed is just over 60mhz. Fixes #4377
1 parent 24f4d98 commit aec03a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/raspberrypi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ SRC_COMMON_HAL_SHARED_MODULE_EXPANDED = $(sort $(SRC_COMMON_HAL_EXPANDED) $(SRC_
234234

235235
SRC_S = supervisor/$(CHIP_FAMILY)_cpu.s
236236
BOOT2_S_UPPER ?= sdk/src/rp2_common/boot_stage2/boot2_generic_03h.S
237-
BOOT2_S_CFLAGS ?= -DPICO_FLASH_SPI_CLKDIV=2
237+
BOOT2_S_CFLAGS ?= -DPICO_FLASH_SPI_CLKDIV=6
238238
SRC_S_UPPER = sdk/src/rp2_common/hardware_divider/divider.S \
239239
sdk/src/rp2_common/hardware_irq/irq_handler_chain.S \
240240
sdk/src/rp2_common/pico_bit_ops/bit_ops_aeabi.S \

0 commit comments

Comments
 (0)