Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing serial port as ENV variable is inconsistent (IDFGH-3506) #5461

Closed
kzyapkov opened this issue Jun 17, 2020 · 3 comments
Closed

Passing serial port as ENV variable is inconsistent (IDFGH-3506) #5461

kzyapkov opened this issue Jun 17, 2020 · 3 comments

Comments

@kzyapkov
Copy link
Contributor

If one wants to specify the serial port for idf.py in environment instead of cli option, they have to set ESPPORT. However, idf_monitor.py probes ESPTOOL_PORT. None of those are in the docs or --help output so I had to dig through the code.

I think this should be added to the documentation, output of idf.py --help and made consistent accross tools.

@github-actions github-actions bot changed the title Passing serial port as ENV variable is inconsistent Passing serial port as ENV variable is inconsistent (IDFGH-3506) Jun 17, 2020
@Alvin1Zhang
Copy link
Collaborator

Thanks for reporting, we will look into.

@dobairoland
Copy link
Collaborator

Hi @kzyapkov. Have you read this page as well? It is mentioned at several places.

But you are right that it could useful to mention this in idf.py --help as well.

@kzyapkov
Copy link
Contributor Author

Thanks, saw the note. That's a lot of text to read for something like this though, please add a note in the -p option docstring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants