Skip to content

Changed esp32 OTA upload command#85

Merged
earlephilhower merged 3 commits into
earlephilhower:mainfrom
mabuware:main
Mar 4, 2025
Merged

Changed esp32 OTA upload command#85
earlephilhower merged 3 commits into
earlephilhower:mainfrom
mabuware:main

Conversation

@mabuware

@mabuware mabuware commented Mar 4, 2025

Copy link
Copy Markdown
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".

Comment thread src/extension.ts
@mabuware mabuware requested a review from earlephilhower March 4, 2025 16:36

@earlephilhower earlephilhower left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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