diff --git a/make-gdb-connect.sh b/make-gdb-connect.sh index 8e51028..f248661 100755 --- a/make-gdb-connect.sh +++ b/make-gdb-connect.sh @@ -1,6 +1,7 @@ #!/bin/sh # Generate gdb-connect script with given RTT block address, to avoid typing it in manually +# Hint from this answer https://superuser.com/a/747905/355774 [ $# -ge 1 ] && ADDR="$1" || ADDR=$(cat) cat < gdb-connect