Skip to content

Commit 0d42c28

Browse files
committed
boards: espressif: remove --no-init from openocd runner args
Remove the --no-init flag from the common ESP32 board.cmake to fix west debugserver on boards with built-in USB JTAG (ESP32-C6, ESP32-H2). Without init, OpenOCD cannot establish target context, causing debugserver to fail with 'reset init' or leaving targets in a watchdog reset loop. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 44eaeb0 commit 0d42c28

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
@@ -3,7 +3,7 @@
33
board_set_flasher_ifnset(esp32)
44
board_set_debugger_ifnset(openocd)
55

6-
board_runner_args(openocd --no-init --no-halt --no-targets --no-load)
6+
board_runner_args(openocd --no-halt --no-targets --no-load)
77
board_runner_args(openocd --gdb-init "set remote hardware-watchpoint-limit 2")
88

99
board_runner_args(openocd --gdb-init "maintenance flush register-cache")

0 commit comments

Comments
 (0)