diff --git a/firmware/.vscode/launch.json b/firmware/.vscode/launch.json index 4c19ddc..3b2ccb2 100644 --- a/firmware/.vscode/launch.json +++ b/firmware/.vscode/launch.json @@ -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" + } + ] + } + ] } ] } \ No newline at end of file