Skip to content

Commit dcbca32

Browse files
jdmarmenjorgesg82
andauthored
Added config for debugging without flashing new code with ST-LINK (#76)
Co-authored-by: Jorge Sáez <125664643+jorgesg82@users.noreply.github.com>
1 parent af3c6d1 commit dcbca32

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,22 @@
171171
"monitor halt"
172172
]
173173
},
174+
{
175+
"name": "MCU | ST-LINK | Attach (No Flash)",
176+
"type": "cortex-debug",
177+
"request": "attach",
178+
"cwd": "${workspaceFolder}",
179+
"executable": "${workspaceFolder}/out/build/latest.elf",
180+
"servertype": "stlink",
181+
"serverpath": "ST-LINK_gdbserver",
182+
"gdbPath": "arm-none-eabi-gdb",
183+
"device": "STM32H723ZGTx",
184+
"interface": "swd",
185+
"svdFile": "${workspaceFolder}/STM32H723.svd",
186+
"showDevDebugOutput": "parsed",
187+
"runToEntryPoint": "",
188+
"postAttachCommands": []
189+
},
174190
{
175191
"name": "SIM | Rosetta | Debug App",
176192
"type": "cppdbg",

0 commit comments

Comments
 (0)