BOOTSEL via Reset button #892
-
I have added a button that is connected to GND and RUN. It resets just fine. I would like to be able to add the bootsel capability via hitting the reset button twice. The SDK has the following info. pico_bootsel_via_double_reset - When the 'pico_bootsel_via_double_reset' library is linked, a function is injected before main() which will detect when the system has been reset twice in quick succession, and enter the USB ROM bootloader (BOOTSEL mode) when this happens. This allows a double tap of a reset button on a development board to be used to enter the ROM bootloader, provided this library is always linked. Is this capability in this core? Is there anything I need to do code-wise? Thanks, Frank |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
Can you try #893? Add |
Beta Was this translation helpful? Give feedback.
Can you try #893? Add
rp2040.enableDoubleResetBootloader()
to your setup and it should link in the SDK code to check for a double reset tap.