mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 16:25:54 +08:00
An example ESP32 application
To build this application, follow these steps:
- Make sure you have Docker installed
- Clone whole mongoose repository on your machine:
git clone --depth 1 https://github.com/cesanta/mongoose.git
- Start command line or terminal, and go into the example's directory:
cd mongoose/examples/esp32
- Run
make
. This invokes a Docker-based build. A firmware will be built in thebuild/
directory:
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:
make flash COMPORT=YOUR_USB_PORT