10 ms·
So I was just looking at the installation process for this device's dev environment (ESP-IDF from espresiff) and it seems kind of...insane. The manual install
by discardedrefuse 3y ago
So I was just looking at the installation process for this device's dev environment (ESP-IDF from espresiff) and it seems kind of...insane.
The manual install method in the directions is not manual at all. It's a script that calls several python scripts. One has 2660 LOC and installs a root certificate (hard coded in the script itself) because of course, even though you just cloned the whole repo, it still has to download stuff from the internet. According to the code, "This works around the issue with outdated certificate stores in some installations".
Does anyone familiar with espressiff have an actual manual method of installing a dev environment for this device that doesn't involved pwning myself?
- detaro 3y agoyes, do it in a container or VM. Welcome to the wonderful world of hardware manufacturer SDKs.
- stintel 3y agoIndeed. This is exactly the reason why we standardized on building in a container.
- yelite 3y agoIf you are open to Nix, you can try https://github.com/mirrexagon/nixpkgs-esp-dev https://github.com/mirrexagon/nixpkgs-esp-dev. I used it for a small project a while ago and the experience was pretty good.
- kkielhofner 3y agoNice! For anyone who would try to use this with Willow (I like the effort and CERTAINLY don't love the ESP dev environment as-is): - ESP ADF is actually the root of the project. ESP-IDF and all other sub-components are components themselves to ADF. - We use bleeding edge ESP SR[0] that we also include as an ADF component. - Plus LVGL, ESP-DSP, esp-lcd-touch, and likely others I'm forgetting ATM. [0] - https://github.com/espressif/esp-sr https://github.com/espressif/esp-sr