Inhaltsverzeichnis

Ubuntu Docker-Container erstellen

docker run --name esp8266-cforth --privileged -v /dev/ttyUSB0:/dev/ttyUSB0 -it ubuntu

ESP8266 SDK installieren

apt update
apt upgrade
apt install make unrar-free autoconf automake libtool gcc g++ gperf \
    flex bison texinfo gawk ncurses-dev libexpat-dev python-dev python python-serial \
    sed git unzip bash help2man wget bzip2 libtool-bin gcc-multilib g++-multilib
adduser esp8266sdk
su - esp8266sdk
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
cd esp-open-sdk
make STANDALONE=y
export PATH=/home/esp8266sdk/esp-open-sdk/xtensa-lx106-elf/bin:$PATH

CForth für ESP8266 bauen

export XTGCCPATH=/home/esp8266sdk/esp-open-sdk/xtensa-lx106-elf/bin/
git clone https://github.com/MitchBradley/cforth
cd cforth/build/esp8266
make

CForth auf den ESP8266 aufspielen

COMPORT=/dev/ttyUSB0 make download