We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5939497 commit fe6f5aaCopy full SHA for fe6f5aa
2 files changed
ports/atmel-samd/common-hal/microcontroller/__init__.c
@@ -55,7 +55,7 @@ extern uint32_t _ezero;
55
56
void common_hal_mcu_on_next_reset(mcu_runmode_t runmode) {
57
// Set up the defaults.
58
- _bootloader_dbl_tap = DBL_TAP_MAGIC;
+ _bootloader_dbl_tap = DBL_TAP_MAGIC_QUICK_BOOT;
59
_ezero = CIRCUITPY_CANARY_WORD;
60
61
if (runmode == RUNMODE_BOOTLOADER) {
ports/atmel-samd/reset.h
@@ -31,6 +31,7 @@
31
32
// Copied from inc/uf2.h in https://github.com/Microsoft/uf2-samd21
33
#define DBL_TAP_MAGIC 0xf01669ef // Randomly selected, adjusted to have first and last bit set
34
+#define DBL_TAP_MAGIC_QUICK_BOOT 0xf02669ef
35
36
extern uint32_t _bootloader_dbl_tap;
37
0 commit comments