mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-13 16:09:00 +08:00
dd59296be9
subtle mod in main.c comment
23 lines
711 B
Markdown
23 lines
711 B
Markdown
# An example ESP8266 application
|
|
|
|
To build this application, follow these steps:
|
|
|
|
1. Make sure you have Docker installed
|
|
2. Clone whole mongoose repository on your machine:
|
|
```sh
|
|
git clone https://github.com/cesanta/mongoose.git
|
|
```
|
|
3. Start command line or terminal, and go into the example's directory:
|
|
```sh
|
|
cd mongoose/examples/esp8266
|
|
```
|
|
4. Run `make`. This invokes a Docker-based build. A firmware will be built
|
|
in the `src/build/` directory:
|
|
```sh
|
|
make build
|
|
```
|
|
5. 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:
|
|
```sh
|
|
make flash PORT=/your/serial
|
|
```
|