Skip to content

Enable progress bar on ArduinoOTA upload #5656

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

Closed
tbertels opened this issue Sep 10, 2021 · 3 comments
Closed

Enable progress bar on ArduinoOTA upload #5656

tbertels opened this issue Sep 10, 2021 · 3 comments

Comments

@tbertels
Copy link
Contributor

tbertels commented Sep 10, 2021

Is there a reason why PROGRESS isn't enabled in platform.txt?
https://github.com/espressif/arduino-esp32/blob/master/platform.txt#L13
https://github.com/espressif/arduino-esp32/blob/master/tools/espota.py#L304

I tested it with it enabled, it works fine.
The progress is shown based on the size of the file sent, so it should always work.

image
vs
image

@me-no-dev
Copy link
Member

the reason is that ArduinoIDE's console does not support carriage return, so it will print a whole lot of lines as percentage grows.

@tbertels
Copy link
Contributor Author

tbertels commented Sep 15, 2021

It actually does now.
Here are captures with the platform.txt patch:
1
2

When uploading by cable instead of OTA however, it still does indeed output multiple lines.

@me-no-dev
Copy link
Member

hmm interesting. will check it out. I reopened the pull request

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

2 participants