Source code examples for docker-espbuild
Don't forget to install esptool.py
if you don't have it yet.
You also need Docker to build the project.
Put your ESP8266 in flash mode, go to your terminal and try the following im a terminal:
$ make build
$ make flash
The first command will compile a sketch with Docker.
The second command will try to find a port at /dev/tty.wchusbserial14*
and flash to that port
All scripts are based on a CH340G USB/serial connector