diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-09-27 18:10:23 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-09-27 18:10:23 +0200 |
commit | 7038e12c3e4ee4284495018546a88e98df891a00 (patch) | |
tree | dcab4f5eff18d274ef9a69259950f3e8a4717204 | |
parent | 3bf32b389dc7cfc85014d91356cfb0ec4cb4df70 (diff) |
move windows-specific vscode config
-rw-r--r-- | .vscode/launch.json | 8 | ||||
-rw-r--r-- | .vscode/tasks.json | 30 |
2 files changed, 25 insertions, 13 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index e580e37..ddfe500 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,9 +9,11 @@ "type": "cortex-debug", "runToEntryPoint": "main", "servertype": "stlink", - "armToolchainPath": "C:/msys64/mingw64/bin", - "stlinkPath": "C:/msys64/mingw64/bin/st-util.exe", - "gdbPath": "C:/msys64/mingw64/bin/gdb-multiarch.exe" + "windows": { + "armToolchainPath": "C:/msys64/mingw64/bin", + "stlinkPath": "C:/msys64/mingw64/bin/st-util.exe", + "gdbPath": "C:/msys64/mingw64/bin/gdb-multiarch.exe" + }, } ] }
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index fcf4120..2bffcc7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,11 +1,13 @@ { "version": "2.0.0", - "options": { - "cwd": "${workspaceFolder}", - "shell": { - "executable": "C:/msys64/msys2_shell.cmd", - "args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ], - } + "windows": { + "options": { + "cwd": "${workspaceFolder}", + "shell": { + "executable": "C:/msys64/msys2_shell.cmd", + "args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ] + }, + }, }, "tasks": [ { @@ -26,8 +28,12 @@ "kind": "test" }, "options": { "cwd": "${workspaceFolder}/stm32f091" }, - "command": "make flash", - "args": [ "" ], + "windows": { + "command": "make flash", + "args": [ "" ], + }, + "command": "make", + "args": [ "flash" ], "type": "shell" }, { @@ -37,8 +43,12 @@ "kind": "test" }, "options": { "cwd": "${workspaceFolder}/stm32f091" }, - "command": "make compile_commands", - "args": [ "" ], + "windows": { + "command": "make compile_commands", + "args": [ "" ], + }, + "command": "make", + "args": [ "compile_commands" ], "type": "shell" } ] |