{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Erase,Upload,Monitor", "type": "shell", "command": "PioExec=~/.platformio/penv/bin/pio; $PioExec run -t erase -e ${input:TargetPlatform} && $PioExec run -t upload -e ${input:TargetPlatform} && $PioExec run -t monitor -e ${input:TargetPlatform}", "problemMatcher": [], "group": { "kind": "build", "isDefault": true } } ], "inputs": [ { "type": "pickString", "id": "TargetPlatform", "description": "Wich platform is used?", "options": [ "ESP8266", "ESP32s" ], "default": "ESP8266" }, ] }