{ "version": "2.0.0", "tasks": [ { "label": "Arduino: Compile", "type": "shell", "command": "arduino-cli compile --fqbn esp32:esp32:esp32c3 --build-property build.usb_cdc_on_boot=1 --verbose .", "group": "build", "problemMatcher": [] }, { "label": "Arduino: Upload", "type": "shell", "command": "arduino-cli upload -p COM78 --fqbn esp32:esp32:esp32c3 .", "group": "test", "problemMatcher": [] }, { "label": "Arduino: Compile & Upload", "type": "shell", "command": "arduino-cli compile --fqbn esp32:esp32:esp32c3 --build-property build.usb_cdc_on_boot=1 --verbose .; if ($?) { arduino-cli upload -p COM78 --fqbn esp32:esp32:esp32c3 --verbose . }", "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "label": "Arduino: Set Board", "type": "shell", "command": "arduino-cli board attach --port COM78 --fqbn esp32:esp32:esp32c3", "problemMatcher": [] } ] }