Skip to content

Commit

Permalink
Fix Interceptor not working after power cycle on some outlier PCBs. M…
Browse files Browse the repository at this point in the history
…anufacturing tolerances can lead to edge cases in which the olscillator takes to long to settle, which leads to the Interceptor working after the initial firmware flash, but stopping to work when it is disconnected and reconnected again. This change simply allows for more time for the crystal to settle, fixing most of these outlier boards.
  • Loading branch information
Staacks committed Jan 14, 2023
1 parent 5aad5f7 commit 84629d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ target_link_libraries(gb_interceptor PUBLIC pico_stdlib hardware_pio pico_multic

target_include_directories(gb_interceptor PUBLIC ${CMAKE_CURRENT_LIST_DIR})

target_compile_definitions(gb_interceptor PUBLIC PICO_XOSC_STARTUP_DELAY_MULTIPLIER=64)

pico_add_extra_outputs(gb_interceptor)

pico_enable_stdio_usb(gb_interceptor 1)
Expand Down
2 changes: 1 addition & 1 deletion firmware/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
#define LED_SWITCH_PIN 1
#define LED_PIN_MASK 0x02

#define VERSION "1.0.3"
#define VERSION "1.0.4-alpha1"

#endif

0 comments on commit 84629d5

Please sign in to comment.