Created
July 20, 2016 17:17
-
-
Save robotdad/880d4d0f6f6f8fe2b77a69bc163ab4ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "0.1.0", | |
"windows": { | |
"command": "cmd", | |
"args": ["/C"] | |
}, | |
"linux": { | |
"command": "sh", | |
"args": ["-c"] | |
}, | |
"osx": { | |
"command": "sh", | |
"args": ["-c"] | |
}, | |
"isShellCommand": true, | |
"showOutput": "always", | |
"echoCommand": true, | |
"tasks": [ | |
{ | |
"isBuildCommand": true, | |
"suppressTaskName": true, | |
"taskName": "Verify (Build)", | |
"args":[ | |
"C:\\PROGRA~2\\Arduino\\ARDUIN~1.EXE", | |
"-compile", | |
"-logger=machine", | |
"-hardware", "C:\\PROGRA~2\\Arduino\\hardware", | |
"-hardware", "C:\\Users\\mgoodner\\AppData\\Local\\ARDUIN~1\\packages", | |
"-tools", "C:\\PROGRA~2\\Arduino\\TOOLS-~1", | |
"-tools", "C:\\PROGRA~2\\Arduino\\hardware\\tools\\avr", | |
"-tools", "C:\\Users\\mgoodner\\AppData\\Local\\ARDUIN~1\\packages", | |
"-built-in-libraries", "C:\\PROGRA~2\\Arduino\\LIBRAR~1", | |
"-libraries", "D:\\Source\\Sketchbook\\libraries", | |
"-fqbn=arduino:samd:arduino_zero_edbg", | |
"-ide-version=10608", | |
"-build-path", "${cwd}\\.vscode", | |
"-warnings=none", | |
"-prefs=build.warn_data_percentage=75", | |
"-verbose", | |
"${file}" | |
], | |
"problemMatcher": | |
{ | |
"owner":"ino", | |
"fileLocation": ["relative", "${workspaceRoot}"], | |
"pattern": | |
{ | |
"regexp": "^(.*):(\\d+):\\s+(warning|error):\\s+(.*)$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"severity": 4, | |
"message": 5 | |
} | |
} | |
}, | |
{ | |
"isBuildCommand": false, | |
"suppressTaskName": true, | |
"taskName": "Upload (Deploy to board)", | |
"args":[ | |
"C:\\Users\\mgoodner\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\openocd\\0.9.0-arduino/bin/openocd.exe", | |
"-d2 -s C:\\Users\\mgoodner\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\openocd/0.9.0-arduino/share/openocd/scripts/", | |
"-f C:\\Users\\mgoodner\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.6.6/variants/arduino_zero/openocd_scripts/arduino_zero.cfg ", | |
"-c", "telnet_port disabled;", | |
"program {{${cwd}\\.vscode/${fileBasename}.bin}} verify reset 0x00002000; shutdown" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment