aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 2bffcc7a97c78aee6b98bc9c6cf585b4ae8c4be6 (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
46
47
48
49
50
51
52
53
54
55
{
	"version": "2.0.0",
	"windows": {
		"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" },
			"windows": {
				"command": "make flash",
				"args": [ "" ],
			},
			"command": "make",
			"args": [ "flash" ],
			"type": "shell"
		},
		{
			"label": "generate compilation db",
			"group": {
				"isDefault": false,
				"kind": "test"
			},
			"options": { "cwd": "${workspaceFolder}/stm32f091" },
			"windows": {
				"command": "make compile_commands",
				"args": [ "" ],
			},
			"command": "make",
			"args": [ "compile_commands" ],
			"type": "shell"
		}
	]
}