This isn’t a real ‘tutorial’ tutorial, but since I spent a few hours building the ESP3x cross compiler on Windows, and hit just about every issue that could come up, here’s my notes!
If you just want the ESP31/32 toolchain, I have the output available for download here.
You might think “oh i will use msys or mingw since i know those” but you are wrong. You have to use cygwin, mingw/msys is way too out of date. There, you just saved yourself an hour of messing with mingw!
Install a ton of packages
You’ll need the usual developer tools, make, autoconf, bison, byacc, yacc, python, nano (if you’re not into vi)
Here’s a list of all the packages I had installed by the time I was done – you can compare with your list by running cygcheck -c after cygwin is installed
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.