kopia lustrzana https://github.com/Wren6991/PicoDVI
Use new pico_clone_default_boot2 for changing SPI clock divisor
rodzic
3c1b24d143
commit
79a1fbc8db
|
@ -10,7 +10,7 @@ add_executable(bad_apple
|
|||
|
||||
# Increase CLKDIV to 4, because we're going to run the system at 372 MHz, and
|
||||
# the flash gets rather unhappy if you try to clock it at 186 MHz
|
||||
pico_define_boot_stage2(bad_apple_boot2 ${PICO_SDK_PATH}/src/rp2_common/boot_stage2/boot2_w25q080.S)
|
||||
pico_clone_default_boot_stage2(bad_apple_boot2)
|
||||
target_compile_definitions(bad_apple_boot2 PRIVATE PICO_FLASH_SPI_CLKDIV=4)
|
||||
pico_set_boot_stage2(bad_apple bad_apple_boot2)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue