mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 20:59:00 +08:00
.. | ||
src | ||
Makefile | ||
README.md |
An example ESP8266 application
To build this application, follow these steps:
- Make sure you have Docker installed
- Clone whole mongoose repository on your machine:
git clone https://github.com/cesanta/mongoose.git
- Start command line or terminal, and go into the example's directory:
cd mongoose/examples/esp8266
- Run
make
. This invokes a Docker-based build. A firmware will be built in thesrc/build/
directory:
make build
- Flash your ESP8266. If you have esptool.py installed, the build process will end telling you the command to flash your device. You can just run
make
again to use Docker:
make flash PORT=/your/serial