#!/usr/bin/env bash mkdir -p ~/esp cd ~/esp || exit git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git cd ~/esp/esp-idf || exit ./install.sh esp32 # This is the arch for our mcu (esp-wroom-32)