Add VsCode workspace .json configuration files for IntelliSense engine setup, path indexing, recommended extensions, and tasks for debug build flash programming.
This commit is contained in:
Vendored
+53
@@ -0,0 +1,53 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Debug-Build",
|
||||
"type": "shell",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"command": ".\\Tools\\mingw32-make.exe -f .\\Tools\\Makefile debug"
|
||||
},
|
||||
{
|
||||
"label": "ST-Link Debug-Flash",
|
||||
"dependsOn": [
|
||||
"Debug-Build"
|
||||
],
|
||||
"type": "shell",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"command": ".\\Tools\\xpack-openocd-0.12.0-7\\bin\\openocd.exe",
|
||||
"args": [
|
||||
"-f",
|
||||
".\\Tools\\Specific_Config\\stlink-interface.cfg",
|
||||
"-f",
|
||||
".\\Tools\\Specific_Config\\stm32g0x-target.cfg",
|
||||
"-c",
|
||||
"program Build/Debug/STM32G030F6P6_Evaluation.elf verify reset exit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "CMSIS-DAP Debug-Flash",
|
||||
"dependsOn": [
|
||||
"Debug-Build"
|
||||
],
|
||||
"type": "shell",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"command": ".\\Tools\\xpack-openocd-0.12.0-7\\bin\\openocd.exe",
|
||||
"args": [
|
||||
"-f",
|
||||
".\\Tools\\Specific_Config\\cmsis-dap-interface.cfg",
|
||||
"-f",
|
||||
".\\Tools\\Specific_Config\\stm32g0x-target.cfg",
|
||||
"-c",
|
||||
"program Build/Debug/STM32G030F6P6_Evaluation.elf verify reset exit"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user