diff --git a/boards/bluepill_f103c8.json b/boards/bluepill_f103c8.json index d4ce1d5..effb85e 100644 --- a/boards/bluepill_f103c8.json +++ b/boards/bluepill_f103c8.json @@ -29,6 +29,21 @@ "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": { "hwids": [ [ diff --git a/boards/genericSTM32F103C8.json b/boards/genericSTM32F103C8.json index 5015a4d..e4a98b5 100644 --- a/boards/genericSTM32F103C8.json +++ b/boards/genericSTM32F103C8.json @@ -34,6 +34,21 @@ "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": { "hwids": [ [ diff --git a/boards/genericSTM32F103CB.json b/boards/genericSTM32F103CB.json index 49e1067..4e2c8fe 100644 --- a/boards/genericSTM32F103CB.json +++ b/boards/genericSTM32F103CB.json @@ -34,6 +34,21 @@ "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": { "hwids": [ [ diff --git a/boards/genericSTM32F103R8.json b/boards/genericSTM32F103R8.json index aeb5abb..772b272 100644 --- a/boards/genericSTM32F103R8.json +++ b/boards/genericSTM32F103R8.json @@ -34,6 +34,21 @@ "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": { "hwids": [ [ diff --git a/boards/genericSTM32F103RB.json b/boards/genericSTM32F103RB.json index cf428b3..d5b6b60 100644 --- a/boards/genericSTM32F103RB.json +++ b/boards/genericSTM32F103RB.json @@ -34,6 +34,21 @@ "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": { "hwids": [ [ diff --git a/boards/genericSTM32F103RC.json b/boards/genericSTM32F103RC.json index 804c5bc..bce72e7 100644 --- a/boards/genericSTM32F103RC.json +++ b/boards/genericSTM32F103RC.json @@ -34,6 +34,21 @@ "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": { "hwids": [ [ diff --git a/boards/genericSTM32F103RE.json b/boards/genericSTM32F103RE.json index daa4c8a..2b4723f 100644 --- a/boards/genericSTM32F103RE.json +++ b/boards/genericSTM32F103RE.json @@ -34,6 +34,21 @@ "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": { "hwids": [ [