Hacker News new | past | comments | ask | show | jobs | submit login

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?




yes, do it in a container or VM. Welcome to the wonderful world of hardware manufacturer SDKs.


Indeed. This is exactly the reason why we standardized on building in a container.


If you are open to Nix, you can try https://github.com/mirrexagon/nixpkgs-esp-dev. I used it for a small project a while ago and the experience was pretty good.


Nice!

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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: