Commit 27fac38
committed
stm32/mboot: Default to direct jump when DFU timeout enabled.
When MBOOT_ENABLE_DFU_TIMEOUT is enabled, default
MBOOT_LEAVE_BOOTLOADER_VIA_RESET to 0 (direct jump) instead of 1 (reset).
Without this, timeout expiration causes NVIC_SystemReset() which re-enters
the bootloader, creating a reset loop instead of booting the application.
Signed-off-by: Andrew Leech <[email protected]>1 parent 9b21391 commit 27fac38
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
0 commit comments