aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: fcf4120bc15143c20781f6b2bfe3fee12da299e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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"
		}
	]
}