Skip to content

Commit 4771390

Browse files
update launches to enable register view mem access (#360)
* update launches to enable register view mem access * conform to MI syntax
1 parent 5496683 commit 4771390

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

NXP/MIMXRT1060-EVK/.vs/launch.vs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
{
3232
"text": "-interpreter-exec console \"monitor reset halt\"",
3333
"ignoreFailures": false
34+
},
35+
{
36+
"text": "-interpreter-exec console \"set mem inaccessible-by-default off\"",
37+
"ignoreFailures": true
3438
}
3539
],
3640
"svdPath": "${workspaceRoot}/MIMXRT1062.svd"

NXP/MIMXRT1060-EVK/.vscode/launch.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,14 @@
4848
// "limit": 8
4949
// },
5050
"preLaunchTask": "Flash",
51-
"svdPath": "${workspaceFolder}/MIMXRT1062.svd"
51+
"svdPath": "${workspaceFolder}/MIMXRT1062.svd",
52+
"setupCommands": [
53+
{
54+
"description": "Allow reading of peripheral registers",
55+
"text": "set mem inaccessible-by-default off",
56+
"ignoreFailures": true
57+
}
58+
]
5259
}
5360
],
5461
"inputs": [

0 commit comments

Comments
 (0)