X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=inline;f=bertos%2Fcpu%2Farm%2Fscripts%2Fopenocd%2Fdebug.cfg;fp=bertos%2Fcpu%2Farm%2Fscripts%2Fopenocd%2Fdebug.cfg;h=70e33c09b10830f6011f039ffaef5ee9ef7a468d;hb=6d658033a4e2b0d2cce4d3ada5c89e5ed5bfd3cb;hp=0000000000000000000000000000000000000000;hpb=4e0bd63af2ee0272c5a8a51f0b53735fcf3e8c16;p=bertos.git diff --git a/bertos/cpu/arm/scripts/openocd/debug.cfg b/bertos/cpu/arm/scripts/openocd/debug.cfg new file mode 100644 index 00000000..70e33c09 --- /dev/null +++ b/bertos/cpu/arm/scripts/openocd/debug.cfg @@ -0,0 +1,23 @@ +# Change the default telnet port... +telnet_port 4444 + +# Port for TCL connection. +tcl_port 6666 + +# GDB connects here +gdb_port 3333 + +source [find PROGRAMMER_TYPE] + +source [find PROGRAMMER_CPU] + +$_TARGETNAME configure -event reset-start { + cpu_setup +} + +$_TARGETNAME configure -event gdb-detach { + shutdown +} + +init +reset run