Skip to content

Changed esp32 OTA upload command #85

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

Merged
merged 3 commits into from
Mar 4, 2025

Conversation

MrMabulous
Copy link
Contributor

Changed esp32 OTA upload command to use "espota" instead of "espota.py" under windows and macOS.

currently under Windows the upload uses espota.py (not "python espota.py") as upload command, which is invalid. On windows there is espota.exe for upload. The code change causes the upload command to be "espota" rather than "espota.py", so the executable is called.

Note: While I could verify that this fixes the problem under Windows, I could not test the change under Linux and macOS. While the change is simple enough that I don't think the current Linux behaviour should be affected, I'm not sure about macOS as I don't know whether it comes with an executable binary named "espota".

Copy link
Owner

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@earlephilhower
Copy link
Owner

Just did a quick sanity on the PicoW and it's all good. Thx again!

@earlephilhower earlephilhower merged commit 4346cbf into earlephilhower:main Mar 4, 2025
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

Successfully merging this pull request may close these issues.

2 participants