Update README

This commit is contained in:
Sergey Lyubka committed 2021-11-11 15:11:57 +00:00
1 parent c58f4ee51b
commit dd34830443
1 file changed
+1 -28
+1 -28
View File
@@ -1,28 +1 @@
# An example ESP32 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 --depth 1 https://github.com/cesanta/mongoose.git
```
3. Start command line or terminal, and go into the example's directory:
```sh
cd mongoose/examples/esp32
```
4. Run `make`. This invokes a Docker-based build. A firmware will be built
in the `build/` directory:
```sh
make
```
# Flashing built firmware
If you have a real board to flash to, you can flash a built firmware.
First, make sure to have `esptool.py` script installed on your workstation.
Then, connect the board to your workstation and run the following command:
```sh
make flash COMPORT=YOUR_USB_PORT
```
See detailed tutorial at https://mongoose.ws/tutorials/esp32/