mirror of
https://github.com/peter-tanner/tinyusb-cdc-stm32f302c8-stm32-hal-minimal.git
synced 2024-11-30 09:00:15 +08:00
30 lines
945 B
JSON
30 lines
945 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch",
|
|
"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/debug/build/tinyusb-stm32f302c8.elf"
|
|
}
|
|
],
|
|
"logging": {
|
|
"engineLogging": true
|
|
},
|
|
"preLaunchTask": "Build",
|
|
"svdPath": "${command:vscode-embedded.st.svd}/STM32F302.svd"
|
|
}
|
|
]
|
|
}
|