Remove unused define
[inav.git] / dev / vscode / tasks.json
blob768145e7bb875f22fe97d4dce130d297719a6452
2     // See https://go.microsoft.com/fwlink/?LinkId=733558
3     // for the documentation about the tasks.json format
4     "version": "2.0.0",
5     "options": {
6         "env": {
7             "TARGET": "${config:TARGET}",
8         }
9     },
10     "tasks": [
11         {
12             "label": "target",
13             "type": "shell",
14             "command": "make", "args": ["-C", "${config:BUILD_DIR}", "${config:TARGET}"],
15             "problemMatcher": "$gcc",
16             "group": {
17                 "kind": "build",
18                 "isDefault": true
19             },
20             "presentation": {
21                 "echo": true,
22                 "reveal": "always",
23                 "focus": false,
24             }
25         },
26         {
27             "label": "flash",
28             "type": "shell",
29             "command": "make", "args":  ["-C", "${config:BUILD_DIR}", "openocd_flash_${config:TARGET}"],
30             "dependsOn": "elf"
31         },
32         {
33             "label": "svd",
34             "type": "shell",
35             "command": "make", "args":  ["-C", "${config:BUILD_DIR}", "svd_${config:TARGET}"],
36             "problemMatcher": []
37         },
38         {
39             "label": "openocd-cfg",
40             "type": "shell",
41             "command": "make", "args":  ["-C", "${config:BUILD_DIR}", "openocd_cfg_${config:TARGET}"],
42             "problemMatcher": []
43         },
44         {
45             "label": "openocd-debug-prepare",
46             "type": "shell",
47             "dependsOn": ["svd", "openocd-cfg", "flash"],
48             "problemMatcher": []
49         }
50     ]