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

feat: experiment with espflash to replace esptool.py #132

Open
HipsterBrown opened this issue Jun 27, 2023 · 1 comment
Open

feat: experiment with espflash to replace esptool.py #132

HipsterBrown opened this issue Jun 27, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@HipsterBrown
Copy link
Owner

Mostly due to my inexperience with managing Python versions and the recent build error issues related to 3.11 with the esp-idf, I'd like to consider replacing the Python-related Espressif tooling with the Rust-based alternatives:

https://github.com/esp-rs/espflash

Even looking at integrating with the idf-env tool from Espressif to manage the installation of the SDK. https://github.com/espressif/idf-env

This work would be behind a "feature flag" (either an env variable or CLI option), since it would probably require some extra complexity to just build a project with mcconfig and execute the flashing with espflash after.

The main risk with this approach is lagging support for newer chips as esp-rs is a community group, not official tooling from Espressif. However, it does offer an opportunity for a stable binary dependency that could eventually be integrated as a native binding to Node.js to avoid exec-ing through the user shell.

@HipsterBrown HipsterBrown added enhancement New feature or request question Further information is requested labels Jun 27, 2023
@phoddie
Copy link
Contributor

phoddie commented Jun 27, 2023

I'm not sure that will eliminate the Python dependency as there are other Python scripts that are integral to the ESP-IDF build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants