Last active
January 6, 2022 02:06
-
-
Save phoddie/b1817b2f682a9e15e9f2ddf031efa56b to your computer and use it in GitHub Desktop.
For Visual Studio Code builds. Goes into .vscode directory.
This file contains 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
{ | |
"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 | |
}, | |
"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": "c:\\Windows\\System32\\cmd.exe" | |
}, | |
"env": { | |
"UPLOAD_PORT": "COM11" | |
} | |
} | |
}, | |
"problemMatcher": [] | |
}, | |
{ | |
"label": "Build ESP32 Debug", | |
"type": "shell", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "dedicated", | |
"clear": true, | |
"showReuseMessage": false | |
}, | |
"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": "c:\\Windows\\System32\\cmd.exe" | |
}, | |
"env": { | |
"UPLOAD_PORT": "COM11" | |
} | |
} | |
}, | |
"problemMatcher": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment