ArduinoCore-mbed icon indicating copy to clipboard operation
ArduinoCore-mbed copied to clipboard

Raspberry Pi Pico change SPI flash clock divider

Open luki34567780 opened this issue 2 years ago • 3 comments

Is it currently possible to change the SPI flash clock divider for the Raspberry Pi Pico? The way to do this with the Pico SDK would be to define PICO_FLASH_SPI_CLKDIV, but this doesn't seem to have any effect here.

luki34567780 avatar Oct 25 '23 12:10 luki34567780

x2

sabas1080 avatar Oct 27 '23 01:10 sabas1080

Any Updates??

sabas1080 avatar Nov 21 '23 22:11 sabas1080

I've switched to earlephilhower's core. With it you can just modify the board config to change the SPI flash divider. (find your board in C:\Users\<user>\.platformio\platforms\raspberrypi@src-ff76a3915224135aafad379817f41edd\boards and change "boot2_source" from <something>_2_padded_checksum.S to <something>_4_padded_checksum.S. Also make sure that you got the correct board (there is a pico.json and a rpipico.json)

luki34567780 avatar Nov 21 '23 23:11 luki34567780