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

Fix device flashing scripts so they work with esptool when it's installed via pipx #5269

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

jeremiah-k
Copy link
Contributor

When installing esptool via pipx install esptool it doesn't work to use python -m esptool.

In linux esptool.py is used and in Windows esptool.

This PR adds checks to first determine which command should be used, before executing the commands to flash the devices.

Copy link
Contributor

@fifieldt fifieldt left a comment

Choose a reason for hiding this comment

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

Thank you very much for your detailed fix. Welcome to Meshtastic!

@fifieldt fifieldt merged commit bd3755b into meshtastic:master Nov 7, 2024
47 checks passed
@jeremiah-k
Copy link
Contributor Author

Thank you very much for your detailed fix. Welcome to Meshtastic!

Thank you, sir!

@jeremiah-k jeremiah-k deleted the esptool.py-support branch November 7, 2024 01:50
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