From f9cd2526fc5878c52e290a8dc0bb9260c5bd797a Mon Sep 17 00:00:00 2001 From: Steven Noreyko <1909661+okyeron@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:21:50 -0600 Subject: add vscode cmake stuff --- sw/.vs/launch.vs.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sw/.vs/launch.vs.json (limited to 'sw/.vs/launch.vs.json') diff --git a/sw/.vs/launch.vs.json b/sw/.vs/launch.vs.json new file mode 100644 index 0000000..0a6a616 --- /dev/null +++ b/sw/.vs/launch.vs.json @@ -0,0 +1,26 @@ +{ + "version": "0.2.1", + "configurations": [ + { + "project": "CMakeLists.txt", + "projectTarget": "plinkyblack.elf", + "name": "Launch", + "type": "cppdbg", + "request": "launch", + "cwd": "${workspaceRoot}", + "program": "${debugInfo.fullTargetPath}", + "MIMode": "gdb", + "miDebuggerPath": "${st.gdb}", + "miDebuggerServerAddress": "localhost:3333", + "debugServerPath": "${st.gdbserver}", + "debugServerArgs": "--stm32cubeprogrammer-path ${st.cubeprogrammer} --swd --port-number 3333", + "serverStarted": "Waiting for connection on port .*\\.\\.\\.", + "stopAtConnect": true, + "postRemoteConnectCommands": [ + { + "text": "load build/debug/build/plinkyblack.elf" + } + ], + "svdPath": "${st.svd}/STM32L476.svd" } + ] +} \ No newline at end of file -- cgit v1.2.3