This commit is contained in:
cbb
2025-12-25 12:07:06 +08:00
commit 26e73f451e
899 changed files with 42812 additions and 0 deletions
+84
View File
@@ -0,0 +1,84 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "STLink@Arm-Debugger (launch)",
"type": "arm-debugger",
"request": "launch",
"connectionAddress": "${command:device-manager.getSerialNumber}",
"connectionType": "ST-Link",
"programs": "${command:cmsis-csolution.getBinaryFiles}",
"cmsisPack": "${command:cmsis-csolution.getDfpName}",
"deviceName": "${command:cmsis-csolution.getDeviceName}",
"processorName": "${command:cmsis-csolution.getProcessorName}",
"workspaceFolder": "${workspaceFolder}/"
},
{
"name": "STLink@pyOCD (launch)",
"type": "gdbtarget",
"request": "launch",
"cwd": "${workspaceFolder}/",
"program": "out/Robot_V2/GD32C103CB/Release/Robot_V2.axf",
"gdb": "arm-none-eabi-gdb",
"auxiliaryGdb": true,
"preLaunchTask": "CMSIS Load",
"initCommands": [
"monitor reset halt",
"tbreak main"
],
"customResetCommands": [
"monitor reset halt",
"maintenance flush register-cache",
"maintenance flush dcache",
"tbreak main",
"continue"
],
"target": {
"server": "pyocd",
"serverParameters": [
"gdbserver",
"--probe",
"stlink:",
"--connect",
"attach",
"--cbuild-run",
"${command:cmsis-csolution.getCbuildRunFile}",
"--quiet",
"--log",
"*.cbuild_run,*server=info"
],
"port": "3333"
},
"cmsis": {
"cbuildRunFile": "${command:cmsis-csolution.getCbuildRunFile}",
"updateConfiguration": "auto"
}
},
{
"name": "STLink@pyOCD (attach)",
"type": "gdbtarget",
"request": "attach",
"cwd": "${workspaceFolder}/",
"program": "out/Robot_V2/GD32C103CB/Release/Robot_V2.axf",
"gdb": "arm-none-eabi-gdb",
"auxiliaryGdb": true,
"initCommands": [
""
],
"customResetCommands": [
"monitor reset halt",
"maintenance flush register-cache",
"maintenance flush dcache",
"tbreak main",
"continue"
],
"target": {
"port": "3333"
},
"cmsis": {
"cbuildRunFile": "${command:cmsis-csolution.getCbuildRunFile}",
"updateConfiguration": "auto"
}
}
]
}