platformio / platformio-docs

PlatformIO Documentation
https://docs.platformio.org
Apache License 2.0
240 stars 325 forks source link

Confusing info about monitor_port #362

Closed moose-on-road closed 1 month ago

moose-on-road commented 1 month ago

monitor_port

Having a real hard time figuring out how to use this option. There isn't enough information here. I think I want to use a URL handler, but this links to an external website for PySerial. I dont understand the relevance of this software or if the link is even intentional. I can't find PySerial in the registry, is it something I need to install seperatly?

ivankravets commented 1 month ago

PlatformIO Core internally uses pyserial module to handle such types of operations. The pyserial dependency is already installed with PlatformIO Core. Just use the URL format as described in its documentation.