Skip to content

Commit db89fd9

Browse files
committed
Fix openocd mass_erase on bootloader upload.
Former-commit-id: 9769976
1 parent 0e1cda0 commit db89fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ tools.openocd.erase.pattern=
148148

149149
tools.openocd.bootloader.params.verbose=-d2
150150
tools.openocd.bootloader.params.quiet=-d0
151-
tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -f interface/{program.protocol}.cfg -c "{program.setup_command}" -f target/{upload.target}.cfg -c "init; halt; nrf51 mass_erase; program {runtime.platform.path}/{build.bootloader.file} verify reset; shutdown;"
151+
tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -f interface/{program.protocol}.cfg -c "{program.setup_command}" -f target/{upload.target}.cfg -c "init; halt; {upload.target} mass_erase; program {runtime.platform.path}/{build.bootloader.file} verify reset; shutdown;"
152152

153153
#
154154
# blackmagic probe upload

0 commit comments

Comments
 (0)