diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2021-03-12 11:06:39 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2021-03-12 11:06:39 -0800 |
| commit | aec03a409f66cdb90e1b51c7ffb827750eadd830 (patch) | |
| tree | 8104fe17e41d1f11a7475f1efce73fc2ac0501fd | |
| parent | 24f4d981bd73d252333dee1d8c02104eff081896 (diff) | |
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
| -rw-r--r-- | ports/raspberrypi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/raspberrypi/Makefile b/ports/raspberrypi/Makefile index db4bd7958..413480d10 100644 --- a/ports/raspberrypi/Makefile +++ b/ports/raspberrypi/Makefile @@ -234,7 +234,7 @@ SRC_COMMON_HAL_SHARED_MODULE_EXPANDED = $(sort $(SRC_COMMON_HAL_EXPANDED) $(SRC_ SRC_S = supervisor/$(CHIP_FAMILY)_cpu.s BOOT2_S_UPPER ?= sdk/src/rp2_common/boot_stage2/boot2_generic_03h.S -BOOT2_S_CFLAGS ?= -DPICO_FLASH_SPI_CLKDIV=2 +BOOT2_S_CFLAGS ?= -DPICO_FLASH_SPI_CLKDIV=6 SRC_S_UPPER = sdk/src/rp2_common/hardware_divider/divider.S \ sdk/src/rp2_common/hardware_irq/irq_handler_chain.S \ sdk/src/rp2_common/pico_bit_ops/bit_ops_aeabi.S \ |
