Skip to content

Commit 479fe65

Browse files
janjongboomsg-
authored andcommitted
Enable semihosting, required for uvisor
1 parent 215979d commit 479fe65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/export/vscode/launch.tmpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"setupCommands": [
2121
{ "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
2222
{ "text": "-file-exec-and-symbols ${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false},
23+
{ "text": "-interpreter-exec console \"monitor endian little\"", "ignoreFailures": false },
24+
{ "text": "-interpreter-exec console \"monitor reset\"", "ignoreFailures": false },
25+
{ "text": "-interpreter-exec console \"monitor halt\"", "ignoreFailures": false },
26+
{ "text": "-interpreter-exec console \"monitor arm semihosting enable\"", "ignoreFailures": false },
2327
{ "text": "-target-download", "description": "flash target", "ignoreFailures": false }
2428
],
2529
"logging": {
@@ -51,4 +55,4 @@
5155
}
5256
}
5357
]
54-
}
58+
}

0 commit comments

Comments
 (0)