-
Notifications
You must be signed in to change notification settings - Fork 58
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
Improve the ESPFLASH section #95
Comments
Hi! The
If you run the command without specifying a port, a list with the available ports will be printed, and you can select it from there.
See the documentation in the readme: https://github.com/esp-rs/espflash/tree/main/espflash#configuration
The difference between
Yes, feel free to open a PR with what you think should be included, but we would like to avoid duplicating information between the remade of the repo and the book, that's why we point to the readme and keep the information short in the book. |
I will be closing this issue for inactivity and I think it's already properly documented, feel free to reopen it if you have any suggestion/issue. |
Key need: specify port. In most cases, one needs to specify the port, and neither this document nor the espflash documentation is clear on how to do so. It appears the first argument is the name of the port, but not clear.
The espflash documentation states there is a configuration file on windows which is not true. ChatGPT thinks there is an environment variable which is used, also doesn't seem true.
There are also three esptools (or two, one with two invokation mechanism?): the one you may have from doing development with esp-idf, the one you get with a standard cargo and is global, and the per-project espflash. Instructions you find about these three are confusing because some take port as an option (--port) and some have it as a positional option. When I read different documents its very confusing because of the three tools. Documentation on one doesn't work for the others.
It seems most people get something working then just use it. in my C++ based env I just use idf.py so I've never had to understand espflash
I would suggest: bring up the different tools, explain which ones document what.
Then, suggest the per-project one as per the current document, but show how to override the port, and/or set a port in the config file.
Thanks! When I learn the answer, can I put in a PR? Right now I don't know the answer, can't flash yet.
The text was updated successfully, but these errors were encountered: