Automatisiertes Skript zum Erstellen von MicroPython für den ESP32
English
Deutsch
Das folgende Skript installiert esp-idf, die erforderlichen Abhängigkeiten und erstellt dann MicroPython für den ESP32.
build_micropython_esp32.sh
apt -y update && apt -y install python3 python3-pip cmake
# Install esp-idf
# esp-idf installieren
git clone --depth 1 -b v4.4.3 https://github.com/espressif/esp-idf.git /opt/esp-idf
cd /opt/esp-idf && git submodule update --init --recursive && ./install.sh
# Clone micropython
# MicroPython klonen
git clone --depth 1 -b v1.19.1 https://github.com/micropython/micropython.git /opt/micropython
# Build micropython
# MicroPython erstellen
cd /opt/micropython/ && make -C mpy-cross
# Build micropython@esp32
# MicroPython@esp32 erstellen
cd /opt/micropython/ports/esp32 && source /opt/esp-idf/export.sh && make submodules && make -j4Check out similar posts by category:
Embedded, ESP8266/ESP32, MicroPython
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow