I’ve installed platform IO with vs code on my macbook air, after clicking on upload, i am getting the following error:
Building .pio/build/esp_wroom_02/firmware.bin
Creating BIN file “.pio/build/esp_wroom_02/firmware.bin” using “/Users/anmolhashmi/.platformio/packages/framework-arduinoespressif8266/bootloaders/eboot/eboot.elf” and “.pio/build/esp_wroom_02/firmware.elf”
Configuring upload protocol…
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
Looking for upload port…
Error: Please specify upload_port for environment or use global --upload-port option.
For some development platforms it can be a USB flash drive (i.e. /media//)
*** [upload] Explicit exit, status 1
===================================================================== [FAILED] Took 27.75 seconds =====================================================================
The terminal process “platformio ‘run’, ‘–target’, ‘upload’” terminated with exit code: 1.