diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-09-27 17:13:39 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-09-27 17:13:39 +0200 |
commit | 3bf32b389dc7cfc85014d91356cfb0ec4cb4df70 (patch) | |
tree | 18a4d7150b55a8ab679c8a2ecc4479689b160293 /.vscode/tasks.json | |
parent | f9f1e5bf0bd7e8b0ca0708fb63f4d2c56d47ef49 (diff) |
windows toolchain setup
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" + } + ] +} |