mongoose/examples/esp32
2020-12-24 16:52:12 +00:00
..
main Add HTTP client code 2020-12-24 16:52:12 +00:00
CMakeLists.txt Add esp32 example 2020-12-14 12:58:27 +00:00
Makefile Add HTTP client code 2020-12-24 16:52:12 +00:00
README.md Add HTTP client code 2020-12-24 16:52:12 +00:00

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