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",
"runToMain": true,
"svdFile": "STM32F303xE.svd",
// "swoConfig": {
// "enabled": false,
// "cpuFrequency": 8000000,
// "swoFrequency": 2000000,
// "source": "probe",
// "decoders": [{
// "type": "console",
// "label": "ITM",
// "port": 0
// }
// ]
// }]
"rttConfig": {
"enabled": true,
"address": "auto",
"decoders": [
{
"label": "RTT stdout",
"port": 0,
"type": "console",
"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"
}
]
}
]
}
]
}