Skip to content

Commit

Permalink
Fix Cortex-M Debug launch commands (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
stellar-aria authored Nov 7, 2023
1 parent 1dc06e1 commit c562cfd
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,28 @@
"servertype": "jlink",
"device": "R7S721020",
"interface": "swd",
"runToEntryPoint": "main",
//"runToEntryPoint": "main",
"svdFile": "${workspaceRoot}/contrib/rza1.svd",
"overrideLaunchCommands": [
"load"
],
"overrideResetCommands": [
"monitor reset",
"load"
],
"overrideRestartCommands": [
"jump start"
],
"rttConfig": {
"enabled": true,
"address": "auto",
"decoders": [
{
"port": 0,
"timestamp": true,
"type": "console"
}
]
},
},
{
Expand Down Expand Up @@ -163,7 +181,7 @@
"type": "lldb",
"request": "launch",
"targetCreateCommands": [
"target create ${workspaceFolder}/build/debug/deluge7SEG.elf"
"target create ${workspaceFolder}/build/Debug/deluge.elf"
],
"processCreateCommands": [
"gdb-remote localhost:3333"
Expand Down

0 comments on commit c562cfd

Please sign in to comment.