Skip to content

Conversation

@mabuware
Copy link
Contributor

@mabuware mabuware commented Mar 4, 2025

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".

@mabuware mabuware requested a review from earlephilhower March 4, 2025 16:36
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