Skip to content
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

Make UF2 build command windows-friendly #4399

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

fifieldt
Copy link
Contributor

@fifieldt fifieldt commented Aug 5, 2024

As reported by @mrekin, the previous changes to the platformio custom build script may not work on windows. Change to use python3 instead of a call to /usr/bin/env python3.

As reported by @mrekin, the previous changes to the platformio
custom build script may not work on windows. Change to use
python3 instead of a call to /usr/bin/env python3.
@thebentern thebentern merged commit 1f458d6 into meshtastic:master Aug 6, 2024
100 checks passed
@mrekin
Copy link
Contributor

mrekin commented Aug 6, 2024

Maybe better use something like {sys.executable} instead?
env.VerboseAction(f"{sys.executable} ./bin/uf2conv.py ... -this works on windows, ubuntu not tested yet
python3 don't work in my windows machine out of the box (python 3.11 installed.

@fifieldt
Copy link
Contributor Author

fifieldt commented Aug 6, 2024

Damn! Thanks for checking @mrekin .

{sys.executable} works on linux, will send an updated.

@fifieldt fifieldt deleted the fix-windows-uf2 branch August 10, 2024 12:08
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.

3 participants