init
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "windows-gcc-x86",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**"
|
||||
],
|
||||
"compilerPath": "C:/mingw/bin/gcc.exe",
|
||||
"cStandard": "${default}",
|
||||
"cppStandard": "${default}",
|
||||
"intelliSenseMode": "windows-gcc-x86",
|
||||
"compilerArgs": [
|
||||
""
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
Vendored
+84
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"clangd.arguments": [
|
||||
"--compile-commands-dir=g:\\Robot_v2\\BOOT\\out\\Robot_V2\\GD32C103CB\\Release"
|
||||
],
|
||||
"debug.hideSlowPreLaunchWarning": true,
|
||||
"debug.showInStatusBar": "never"
|
||||
}
|
||||
Vendored
+112
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "CMSIS Load+Run",
|
||||
"problemMatcher": [],
|
||||
"dependsOn": [
|
||||
"CMSIS Load",
|
||||
"CMSIS Run"
|
||||
],
|
||||
"dependsOrder": "sequence"
|
||||
},
|
||||
{
|
||||
"label": "CMSIS Erase",
|
||||
"type": "shell",
|
||||
"command": "pyocd",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/",
|
||||
"shell": {
|
||||
"executable": "cmd.exe",
|
||||
"args": [
|
||||
"/d",
|
||||
"/c"
|
||||
]
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"erase",
|
||||
"--probe",
|
||||
"stlink:",
|
||||
"--chip",
|
||||
"--cbuild-run",
|
||||
"${command:cmsis-csolution.getCbuildRunFile}"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "CMSIS Load",
|
||||
"type": "shell",
|
||||
"command": "pyocd",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/",
|
||||
"shell": {
|
||||
"executable": "cmd.exe",
|
||||
"args": [
|
||||
"/d",
|
||||
"/c"
|
||||
]
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"load",
|
||||
"--probe",
|
||||
"stlink:",
|
||||
"--cbuild-run",
|
||||
"${command:cmsis-csolution.getCbuildRunFile}"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "CMSIS Run",
|
||||
"type": "shell",
|
||||
"command": "pyocd",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/",
|
||||
"shell": {
|
||||
"executable": "cmd.exe",
|
||||
"args": [
|
||||
"/d",
|
||||
"/c"
|
||||
]
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"gdbserver",
|
||||
"--probe",
|
||||
"stlink:",
|
||||
"--connect",
|
||||
"attach",
|
||||
"--persist",
|
||||
"--reset-run",
|
||||
"--cbuild-run",
|
||||
"${command:cmsis-csolution.getCbuildRunFile}",
|
||||
"--quiet",
|
||||
"--log",
|
||||
"*.cbuild_run,*server=info"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "CMSIS TargetInfo",
|
||||
"type": "shell",
|
||||
"command": "pyocd",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/",
|
||||
"shell": {
|
||||
"executable": "cmd.exe",
|
||||
"args": [
|
||||
"/d",
|
||||
"/c"
|
||||
]
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"list",
|
||||
"--cbuild-run",
|
||||
"${command:cmsis-csolution.getCbuildRunFile}"
|
||||
],
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user