Skip to content

Instantly share code, notes, and snippets.

@cmidgley
Last active December 12, 2020 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmidgley/75b326ddcedc7b96603307d822201990 to your computer and use it in GitHub Desktop.
Save cmidgley/75b326ddcedc7b96603307d822201990 to your computer and use it in GitHub Desktop.
vscode tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "Build ESP8266 Debug",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "dedicated",
"clear": true,
"showReuseMessage": false
},
"options": {
"cwd": "${workspaceFolder}/${relativeFileDirname}",
},
"command": "mcconfig -m -d -p esp/nodemcu",
"windows": {
"options": {
"shell": {
"args": [
"/C",
"\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvars32.bat\"",
"x64",
"&&"
],
"executable": "cmd.exe"
},
"env": {
"UPLOAD_PORT": "COM11"
}
}
},
"problemMatcher": []
},
{
"label": "Build ESP32 Debug",
"type": "shell",
"presentation": {
"reveal": "always",
"panel": "dedicated",
"clear": true,
"showReuseMessage": false
},
"options": {
"cwd": "."
},
"command": "mcconfig -m -d -p esp32/nodemcu",
"windows": {
"options": {
"shell": {
"args": [
"/C",
"\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvars32.bat\"",
"x64",
"&&"
],
"executable": "cmd.exe"
},
"env": {
"UPLOAD_PORT": "COM3"
}
}
},
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment