summaryrefslogtreecommitdiff
path: root/bsp/nrf5x/nrf52832/.vscode/tasks.json
blob: 68331caaad51e561793d06015fc78203e2af6fe1 (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
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "config",
            "type": "shell",
            "command": "RTT_ROOT=../../.. scons --pyconfig",
            "problemMatcher": []
        },
        {
            "label": "build",
            "type": "shell",
            "command": "scons",
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "clean",
            "type": "shell",
            "command": "scons -c",
            "problemMatcher": []
        },
        {
            "label": "flash",
            "type": "shell",
            "command": "nrfjprog -f nrf52 --program rt-thread.hex --sectorerase",
            "group": "build",
            "problemMatcher": []
        },
        {
            "label": "flash_softdevice",
            "type": "shell",
            "command": "nrfjprog -f nrf52 --program packages/nrf5x_sdk-latest/components/softdevice/s132/hex/s132_nrf52_7.0.1_softdevice.hex --sectorerase",
            "problemMatcher": []
        },
        {
            "label": "erase",
            "type": "shell",
            "command": "nrfjprog -f nrf52 --eraseall",
            "problemMatcher": []
        },
        {
            "label": "reset",
            "type": "shell",
            "command": "nrfjprog -f nrf52 --reset",
            "problemMatcher": []
        }
    ]
}