mongoose/examples/esp8266/http-client-server
2022-12-27 20:27:08 -03:00
..
src Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group 2022-12-27 20:27:08 -03:00
Makefile Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group 2022-12-27 20:27:08 -03:00
README.md Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group 2022-12-27 20:27:08 -03:00

An example ESP8266 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 https://github.com/cesanta/mongoose.git
  1. Start command line or terminal, and go into the example's directory:
cd mongoose/examples/esp8266
  1. Run make. This invokes a Docker-based build. A firmware will be built in the src/build/ directory:
make build
  1. Flash your ESP8266. If you have esptool.py installed, the build process will end telling you the command to flash your device. You can just run make again to use Docker:
make flash PORT=/your/serial