daniloc / PicoW_HomeAssistant_Starter

Everything you need to get started with your own Intranet of Things, using the high-quality, low-cost Pico W as the backbone.
MIT License
198 stars 20 forks source link

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

Open JacobChrist opened 1 year ago

JacobChrist commented 1 year ago

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.

daniloc commented 1 year ago

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