It's 10pm … Never give up on ESP32-S3 Linux builds… success! 🔧💻🎉



It's 10pm … Never give up on ESP32-S3 Linux builds… success! 🔧💻🎉

It's 10pm ... Never give up on ESP32-S3 Linux builds... success! 🔧💻🎉

It’s 10pm. Do you know where your engineers are? Last time we did a video, we were mucking about with trying to get Linux running on an ESP32-S3 by compiling the shell script provided over at https://gist.github.com/jcmvbkbc/316e6da728021c8ff670a24e674a35e6 – we tried a few methods, and it got quickly into a yak-shaving mess https://www.hanselman.com/blog/yak-shaving-defined-ill-get-that-done-as-soon-as-i-shave-this-yak; eventually, we were able to get everything compiled in WSL https://www.youtube.com/watch?v=YWP6gXlFihc, but even that took a few extra steps. so! We did what any REAL engineer does when they have an extensive toolchain to massage: make a Docker container! https://www.hanselman.com/blog/docker-101-and-how-do-containers-work . A container is a lightweight and fast virtual computer and is easy for people to run no matter what operating system they are on – much simpler and smaller than VirtualBox because it has only the bare essentials. The Dockerfile was fun to put together, a little like a text adventure where you have to figure out the exact order of commands to get the babel fish https://www.ifwiki.org/Babel_fish_puzzle but now when run, it will automagically pop out the right files AND you can always terminal into the docker image at the end to customize and re-compile quickly. You can check out the Dockerfile here https://github.com/adafruit/Adafruit_Learning_System_Guides/pull/2589/files and if you want to just download the container image post-compilation check it out at https://hub.docker.com/repository/docker/ladyada/esp32_linux_builder/general

#esp32 #esp32s3 #linuxbuilds #engineering #dockercontainer #virtualbox #toolchain #compilation #opensource #technology #realengineer #innovation

Comments are closed.