mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
Update README
This commit is contained in:
1 parent
c58f4ee51b
commit
dd34830443
1 file changed
+1
-28
@@ -1,28 +1 @@
|
|||||||
# An example ESP32 application
|
See detailed tutorial at https://mongoose.ws/tutorials/esp32/
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
Reference in new issue
Block a user