mongoose/examples/esp32/README.md
2020-12-24 16:52:12 +00:00

780 B

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:
git clone --depth 1 https://github.com/cesanta/mongoose.git
  1. Start command line or terminal, and go into the example's directory:
cd mongoose/examples/esp32
  1. Run make. This invokes a Docker-based build. A firmware will be built in the build/ 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