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
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.