In short:
- Update SE firmware (we’re on SE fw
v1.104.0). - Clone MicroPython GitHub - micropython/micropython: MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
- Install arm-gcc toolchain (we’re using:
gcc version 13.3.1 20240614 (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) - Run the following commands:
cd micropython
make -j$(nproc) -C mpy-cross
cd ports/alif
make -j$(nproc) BOARD=ALIF_ENSEMBLE submodules
make -j$(nproc) BOARD=ALIF_ENSEMBLE
# Connect cable to SE USB port first before running this.
make -j$(nproc) BOARD=ALIF_ENSEMBLE deploy
There’s more info here on MicroPython in general:
Note we’ll add precompiled firmware images to MicroPython - Python for microcontrollers soon, at least for the E7 devkit.