Add ST-Link-v2-1 debug tool for STM32F103
This commit is contained in:
parent
21e0fcd802
commit
f356e660f7
|
@ -29,6 +29,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,6 +34,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,6 +34,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,6 +34,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,6 +34,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,6 +34,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,6 +34,21 @@
|
||||||
"tb main"
|
"tb main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"stlink-v2-1": {
|
||||||
|
"server": {
|
||||||
|
"package": "tool-openocd",
|
||||||
|
"executable": "bin/openocd",
|
||||||
|
"arguments": ["-f", "scripts/board/st_nucleo_f103rb.cfg"]
|
||||||
|
},
|
||||||
|
"gdbinit": [
|
||||||
|
"target remote :3333",
|
||||||
|
"file $PROG_PATH",
|
||||||
|
"load $PROG_PATH",
|
||||||
|
"monitor init",
|
||||||
|
"monitor reset halt",
|
||||||
|
"tb main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"blackmagic": {
|
"blackmagic": {
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue