Skip to content

Enable progress bar on ArduinoOTA upload #5656

Closed
@tbertels

Description

@tbertels

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

Activity

me-no-dev

me-no-dev commented on Sep 15, 2021

@me-no-dev
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

tbertels commented on Sep 15, 2021

@tbertels
ContributorAuthor

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

me-no-dev commented on Sep 16, 2021

@me-no-dev
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Enable progress bar on ArduinoOTA upload · Issue #5656 · espressif/arduino-esp32