Closed
Description
Add error response when port requested (via ... -p <port_name>
) that is not in the supported/filtered list (retrieved via ... -P
).
For example, on a Mac, if the command-line is this:
proploader -p /dev/tty.usbserial-AH016W5L my_application
response could be, a fatal error... the port is not opened and the following message is emitted:
Error: can not open port /dev/tty.usbserial-AH016W5L
This need was brought up in Issue #31 because the user was specifying a dev/tty.* port on a Mac instead of a dev/cu.* port, causing intermittent failures. The -P option response only includes the dev/cu.* ports and not the dev/tty.* ports.
Metadata
Metadata
Assignees
Labels
No labels