PicoW_HomeAssistant_Starter icon indicating copy to clipboard operation
PicoW_HomeAssistant_Starter copied to clipboard

Error: Please specify `upload_port` for environment or use global `--upload-port` option.

Open JacobChrist opened this issue 1 year ago • 1 comments

I was testing this project on LInux and getting this issue:

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/<user>/<device name>)
*** [upload] Explicit exit, status 1

I was due to firmware running on the Pico Pi W not having a serial port. To resolve the issues I uploaded a sketch from the ASCII Table Sketch from the Arduino IDE.

I'm not sure how to fix this from Platform IO.

It might be nice if the README.md had a bit of guidance on this issue.

JacobChrist avatar May 21 '23 01:05 JacobChrist

Thanks for this catch. I'll have a look from my Linux machine and see if I can reproduce.

daniloc avatar May 21 '23 18:05 daniloc