diff --git a/software/apps/bad_apple/CMakeLists.txt b/software/apps/bad_apple/CMakeLists.txt index 923e2fb..ee89e1b 100644 --- a/software/apps/bad_apple/CMakeLists.txt +++ b/software/apps/bad_apple/CMakeLists.txt @@ -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)