You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.8 KiB
53 lines
1.8 KiB
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch (Debug)",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "${command:cmake.launchTargetPath}",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "${command:vscode-embedded.st.gdb}",
|
|
"miDebuggerServerAddress": "localhost:3333",
|
|
"debugServerPath": "${command:vscode-embedded.st.gdbserver}",
|
|
"debugServerArgs": "--stm32cubeprogrammer-path ${command:vscode-embedded.st.cubeprogrammer} --swd --port-number 3333",
|
|
"serverStarted": "Waiting for connection on port .*\\.\\.\\.",
|
|
"stopAtConnect": true,
|
|
"postRemoteConnectCommands": [
|
|
{
|
|
"text": "load build/debug/build/STM32Synth.elf"
|
|
}
|
|
],
|
|
"logging": {
|
|
"engineLogging": true
|
|
},
|
|
"preLaunchTask": "Build",
|
|
"svdPath": "${command:vscode-embedded.st.svd}/STM32H735.svd"
|
|
},
|
|
{
|
|
"name": "Launch (Release)",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "${command:cmake.launchTargetPath}",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "${command:vscode-embedded.st.gdb}",
|
|
"miDebuggerServerAddress": "localhost:3333",
|
|
"debugServerPath": "${command:vscode-embedded.st.gdbserver}",
|
|
"debugServerArgs": "--stm32cubeprogrammer-path ${command:vscode-embedded.st.cubeprogrammer} --swd --port-number 3333",
|
|
"serverStarted": "Waiting for connection on port .*\\.\\.\\.",
|
|
"stopAtConnect": false,
|
|
"postRemoteConnectCommands": [
|
|
{
|
|
"text": "load build/release/build/STM32Synth.elf"
|
|
}
|
|
],
|
|
"logging": {
|
|
"engineLogging": true
|
|
},
|
|
"preLaunchTask": "Build",
|
|
"svdPath": "${command:vscode-embedded.st.svd}/STM32H735.svd"
|
|
}
|
|
]
|
|
}
|
|
|