Skip to content

Commit

Permalink
Increase startup delay and use generic stage 2 bootloader, these chan…
Browse files Browse the repository at this point in the history
…ges allow some "broken" boards to boot properly
  • Loading branch information
renzenicolai committed Jul 18, 2022
1 parent 971c375 commit 0328d95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ set(BOOTLOADER rp2040_bootloader)
# Board type
set(PICO_BOARD none)

# Fixes that allow some MCH2022 badges with a slowly starting oscillator to boot properly
add_compile_definitions(PICO_BOOT_STAGE2_CHOOSE_GENERIC_03H=1 PICO_XOSC_STARTUP_DELAY_MULTIPLIER=64)

# SDK
include($ENV{PICO_SDK_PATH}/pico_sdk_init.cmake)

Expand Down

0 comments on commit 0328d95

Please sign in to comment.