vscode: config rtt

This commit is contained in:
2023-03-26 11:26:03 +02:00
parent 317e3bbd25
commit 43d30bb283

View File

@@ -16,18 +16,46 @@
"interface": "swd", "interface": "swd",
"runToMain": true, "runToMain": true,
"svdFile": "STM32F303xE.svd", "svdFile": "STM32F303xE.svd",
// "swoConfig": { "rttConfig": {
// "enabled": false, "enabled": true,
// "cpuFrequency": 8000000, "address": "auto",
// "swoFrequency": 2000000, "decoders": [
// "source": "probe", {
// "decoders": [{ "label": "RTT stdout",
// "type": "console", "port": 0,
// "label": "ITM", "type": "console",
// "port": 0 "timestamp": true
// } },
// ] {
// }] "label": "RTT graph",
"port": 0,
"encoding": "unsigned",
"graphId": "1",
"scale": 1
}
]
},
"graphConfig": [
{
"label": "Graph 1",
"type": "realtime",
"minimum": 0,
"maximum": 65535,
"timespan": 30,
"plots": [
{
"graphId": "1",
"label": "data 1",
"color": "#53753c",
},
{
"graphId": "2",
"label": "data 2",
"color": "#955f20"
}
]
}
]
} }
] ]
} }