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

Add VSCode / PlatformIO project & build instructions as alternative to uploading pre-built binaries #51

Open
semuadmin opened this issue Apr 21, 2022 · 1 comment

Comments

@semuadmin
Copy link

Just a suggestion, but could you consider setting this up as a VS Code / Platform IO project?

The PlatformIO 'Arduino' plugin for VS Code is pretty solid these days and streamlines the ESP32 build and upload process across all supported platforms. Might be useful as an alternative to using pre-built binaries and separate upload tools.

@pbrier
Copy link

pbrier commented Jan 23, 2023

Dear @nebkat: Any suggestions on building from source? I tried with an official ESP IDF docker container, (version 4.3 as mentioned in the logs of the running firmware v0.5.4) but the button component source is not found (not checked in source tree). Manually installing the dependency was not (yet) successful as the exact version is not defined, and the latest (and 1st) version seems incompatible with the code.

Used commands to build:
docker run -it --rm -v $PWD:/project -w /project espressif/idf:v4.3 idf.py build

Used component: https://components.espressif.com/components/espressif/button

The correct source to use is the button project from @nebkat:
Get it here: https://github.com/nebkat/esp32-button

And I was able to build from source!

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

No branches or pull requests

2 participants