Skip to content

Commit 3c82cd6

Browse files
wmrsouzacarlescufi
authored andcommitted
openocd: esp32: gdb init command update
flushregs alias is deprecated, so it was replaced by the command: "maintenance flush register-cache" Signed-off-by: Marcio Ribeiro <[email protected]>
1 parent 3e8ea52 commit 3c82cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/common/esp32.board.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ board_set_debugger_ifnset(openocd)
66
board_runner_args(openocd --no-init --no-halt --no-targets --no-load)
77
board_runner_args(openocd --gdb-init "set remote hardware-watchpoint-limit 2")
88

9-
board_runner_args(openocd --gdb-init "flushregs")
9+
board_runner_args(openocd --gdb-init "maintenance flush register-cache")
1010
board_runner_args(openocd --gdb-init "mon reset halt")
1111
board_runner_args(openocd --gdb-init "thb main")
1212

0 commit comments

Comments
 (0)