mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:52:44 +01:00
tools/openocd-rtt: also open GDB port
When using OpenOCD RTT (real-time transfer) for stdio with `USEMODULE=stdio_rtt make ...`, it is no longer possible to debug while being connected to stdio. By also opening gdb at RIOT's default GDB port, `make debug-client` can be used to connect from GDB to the OpenOCD instance providing stdio via RTT.
This commit is contained in:
parent
ca1c09e382
commit
4fc7700a0f
2
dist/tools/openocd/openocd.sh
vendored
2
dist/tools/openocd/openocd.sh
vendored
@ -484,7 +484,7 @@ do_term() {
|
||||
-c 'bindto ${OPENOCD_SERVER_ADDRESS}' \
|
||||
-c 'tcl_port 0' \
|
||||
-c 'telnet_port 0' \
|
||||
-c 'gdb_port 0' \
|
||||
-c 'gdb_port 3333' \
|
||||
-c init \
|
||||
-c 'rtt setup '${RAM_START_ADDR}' '${RAM_LEN}' \"SEGGER RTT\"' \
|
||||
-c 'rtt start' \
|
||||
|
Loading…
Reference in New Issue
Block a user