vscode: config rtt
This commit is contained in:
52
firmware/.vscode/launch.json
vendored
52
firmware/.vscode/launch.json
vendored
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user