A Debian Jessie image containing all the tools required to build Micropython for the ESP8266
277
A Debian Jessie image containing all the tools and code required to build Micropython for the ESP8266.
Also see:
https://github.com/pfalcon/esp-open-sdk https://github.com/micropython/micropython/tree/master/esp8266
Note that it cannot be run as root so all operations are run as user 'builder'.
Step-by-step:
# First build the ESP8266 toolchain
cd esp-open-sdk/
make
export PATH=/home/builder/code/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
export THISDIR=/home/builder/code/esp-open-sdk/
# Now for Micropython
cd ../micropython/
git submodule update --init
make -C mpy-cross
cd esp8266/
make axtls
make
The output is in the build directory. make deploy can be used to transfer to an ESP8266 - see the ESP8266 port of Micropython for more information.
Be sure to have plenty of disk space available (about 6.5GB is needed to build the ESP toolchain and Micropython).
Content type
Image
Digest
Size
268.3 MB
Last updated
almost 10 years ago
docker pull mattyt/esp8266-micropython-build