Last change
on this file since 472 was 469, checked in by coas-nagasima, 3 years ago |
launch.jsonで「gdb_memory_map disable」があるとフラッシュ出来ず、無いとデバッグ起動に失敗するので、書き込みタスクを復活。
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/json;charset=UTF-8
|
File size:
4.5 KB
|
Rev | Line | |
---|
[457] | 1 | {
|
---|
| 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558
|
---|
| 3 | // for the documentation about the tasks.json format
|
---|
| 4 | "version": "2.0.0",
|
---|
| 5 | "name": "make",
|
---|
| 6 | "type": "shell",
|
---|
| 7 | "problemMatcher": {
|
---|
| 8 | "owner": "cpp",
|
---|
| 9 | "fileLocation": [
|
---|
| 10 | "relative",
|
---|
| 11 | "${workspaceFolder}/Debug"
|
---|
| 12 | ],
|
---|
| 13 | "pattern": {
|
---|
| 14 | "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error|fatal error):\\s+(.*)$",
|
---|
| 15 | "file": 1,
|
---|
| 16 | "line": 2,
|
---|
| 17 | "column": 3,
|
---|
| 18 | "severity": 4,
|
---|
| 19 | "message": 5
|
---|
| 20 | }
|
---|
| 21 | },
|
---|
| 22 | "tasks": [
|
---|
| 23 | {
|
---|
| 24 | "label": "build all",
|
---|
| 25 | "args": [
|
---|
| 26 | "-j", "1",
|
---|
| 27 | "-C", "..",
|
---|
| 28 | "all"
|
---|
| 29 | ],
|
---|
| 30 | "linux": {
|
---|
| 31 | "command": "make"
|
---|
| 32 | },
|
---|
| 33 | "osx": {
|
---|
| 34 | "command": "make"
|
---|
| 35 | },
|
---|
| 36 | "windows": {
|
---|
| 37 | "command": "make.exe"
|
---|
| 38 | },
|
---|
| 39 | "group": {
|
---|
| 40 | "kind": "build",
|
---|
| 41 | "isDefault": true
|
---|
| 42 | }
|
---|
| 43 | },
|
---|
| 44 | {
|
---|
| 45 | "label": "clean all",
|
---|
| 46 | "args": [
|
---|
| 47 | "-C", "..",
|
---|
| 48 | "clean"
|
---|
| 49 | ],
|
---|
| 50 | "linux": {
|
---|
| 51 | "command": "make"
|
---|
| 52 | },
|
---|
| 53 | "osx": {
|
---|
| 54 | "command": "make"
|
---|
| 55 | },
|
---|
| 56 | "windows": {
|
---|
| 57 | "command": "make.exe"
|
---|
| 58 | },
|
---|
| 59 | "group": "build"
|
---|
| 60 | },
|
---|
| 61 | {
|
---|
| 62 | "label": "realclean all",
|
---|
| 63 | "args": [
|
---|
| 64 | "-C", "..",
|
---|
| 65 | "realclean"
|
---|
| 66 | ],
|
---|
| 67 | "linux": {
|
---|
| 68 | "command": "make"
|
---|
| 69 | },
|
---|
| 70 | "osx": {
|
---|
| 71 | "command": "make"
|
---|
| 72 | },
|
---|
| 73 | "windows": {
|
---|
| 74 | "command": "make.exe"
|
---|
| 75 | },
|
---|
| 76 | "group": "build"
|
---|
| 77 | },
|
---|
| 78 | {
|
---|
| 79 | "label": "build app_iothub_client",
|
---|
| 80 | "args": [
|
---|
| 81 | "-j", "1",
|
---|
| 82 | "all"
|
---|
| 83 | ],
|
---|
| 84 | "linux": {
|
---|
| 85 | "command": "make"
|
---|
| 86 | },
|
---|
| 87 | "osx": {
|
---|
| 88 | "command": "make"
|
---|
| 89 | },
|
---|
| 90 | "windows": {
|
---|
| 91 | "command": "make.exe"
|
---|
| 92 | },
|
---|
| 93 | "group": "build"
|
---|
| 94 | },
|
---|
| 95 | {
|
---|
| 96 | "label": "cfg app_iothub_client",
|
---|
| 97 | "args": [
|
---|
| 98 | "-j", "1",
|
---|
| 99 | "kernel_cfg.h"
|
---|
| 100 | ],
|
---|
| 101 | "linux": {
|
---|
| 102 | "command": "make"
|
---|
| 103 | },
|
---|
| 104 | "osx": {
|
---|
| 105 | "command": "make"
|
---|
| 106 | },
|
---|
| 107 | "windows": {
|
---|
| 108 | "command": "make.exe"
|
---|
| 109 | },
|
---|
| 110 | "group": "build"
|
---|
| 111 | },
|
---|
| 112 | {
|
---|
| 113 | "label": "clean app_iothub_client",
|
---|
| 114 | "args": [
|
---|
| 115 | "clean"
|
---|
| 116 | ],
|
---|
| 117 | "linux": {
|
---|
| 118 | "command": "make"
|
---|
| 119 | },
|
---|
| 120 | "osx": {
|
---|
| 121 | "command": "make"
|
---|
| 122 | },
|
---|
| 123 | "windows": {
|
---|
| 124 | "command": "make.exe"
|
---|
| 125 | },
|
---|
| 126 | "group": "build"
|
---|
| 127 | },
|
---|
| 128 | {
|
---|
| 129 | "label": "realclean app_iothub_client",
|
---|
| 130 | "args": [
|
---|
| 131 | "realclean"
|
---|
| 132 | ],
|
---|
| 133 | "linux": {
|
---|
| 134 | "command": "make"
|
---|
| 135 | },
|
---|
| 136 | "osx": {
|
---|
| 137 | "command": "make"
|
---|
| 138 | },
|
---|
| 139 | "windows": {
|
---|
| 140 | "command": "make.exe"
|
---|
| 141 | },
|
---|
| 142 | "group": "build"
|
---|
[469] | 143 | },
|
---|
| 144 | {
|
---|
| 145 | "label": "write app",
|
---|
| 146 | "linux": {
|
---|
| 147 | "command": "rsync",
|
---|
| 148 | "args": [
|
---|
| 149 | "-av",
|
---|
| 150 | "--progress",
|
---|
| 151 | "${workspaceFolder}/Debug/app_iothub_client.bin",
|
---|
| 152 | "/media/${env:USER}/NODE_F767ZI/"
|
---|
| 153 | ]
|
---|
| 154 | },
|
---|
| 155 | "osx": {
|
---|
| 156 | "command": "rsync",
|
---|
| 157 | "args": [
|
---|
| 158 | "-av",
|
---|
| 159 | "--progress",
|
---|
| 160 | "${workspaceFolder}/Debug/app_iothub_client.bin",
|
---|
| 161 | "/Volumes/NODE_F767ZI/"
|
---|
| 162 | ]
|
---|
| 163 | },
|
---|
| 164 | "windows": {
|
---|
| 165 | "command": "C:\\Windows\\System32\\robocopy.exe",
|
---|
| 166 | "args": [
|
---|
| 167 | "${workspaceFolder}\\Debug",
|
---|
| 168 | "E:\\",
|
---|
| 169 | "app_iothub_client.bin"
|
---|
| 170 | ],
|
---|
| 171 | "options": {
|
---|
| 172 | "shell": {
|
---|
| 173 | "executable": "C:\\Windows\\System32\\cmd.exe",
|
---|
| 174 | "args":["/D", "/C"]
|
---|
| 175 | }
|
---|
| 176 | }
|
---|
| 177 | }
|
---|
[457] | 178 | }
|
---|
| 179 | ]
|
---|
| 180 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.