diff options
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..fcf4120 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,45 @@ +{ + "version": "2.0.0", + "options": { + "cwd": "${workspaceFolder}", + "shell": { + "executable": "C:/msys64/msys2_shell.cmd", + "args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ], + } + }, + "tasks": [ + { + "label": "build stm32 firmware", + "group": { + "isDefault": false, + "kind": "build" + }, + "options": { "cwd": "${workspaceFolder}/stm32f091" }, + "command": "make", + "args": [ "" ], + "type": "shell" + }, + { + "label": "flash stm32 firmware", + "group": { + "isDefault": false, + "kind": "test" + }, + "options": { "cwd": "${workspaceFolder}/stm32f091" }, + "command": "make flash", + "args": [ "" ], + "type": "shell" + }, + { + "label": "generate compilation db", + "group": { + "isDefault": false, + "kind": "test" + }, + "options": { "cwd": "${workspaceFolder}/stm32f091" }, + "command": "make compile_commands", + "args": [ "" ], + "type": "shell" + } + ] +} |