No description
main | ||
scripts | ||
.clang-format | ||
.clangd | ||
.gitignore | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README.md | ||
sdkconfig |
Building
- Install the ESP-IDF toolchain (See: Toolchain section)
- Source the environment
source ~/esp/esp-idf/export.sh
(yes i know) - idf.py build
- idf.py flash
A makefile is provided to somewhat remedy this madness.
Toolchain
See: Standard Toolchain Setup for Linux
From the official docs, essentially:
mkdir -p ~/esp
cd ~/esp
git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git
cd ~/esp/esp-idf
./install.sh esp32 # This is the arch for our mcu (esp-wroom-32)
For qemu: (The environment needs to be sourced)
python $IDF_PATH/tools/idf_tools.py install qemu-xtensa
Help and Resources
- Espressif docs on the ESP-IDF build system: Build System
- Dependencies found here: ESP Registry
- Custon FreeRTOS to better facilitate the ESP: ESP-IDF FreeRTOS
- Vanilla FreeRTOS docs FreeRTOS Documentation