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",
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user