Watch out: you have to update the CONFIG_ESPTOOLPY_PORT
value according to your ESP32 serial port.
For standard ESP32 chips it's /dev/ttyUSB0
and for WROVER kits it's /dev/ttyUSB1
.
- Choose the sample that you want to build:
- Minimal C:
docker build -t esp32 c
- Minimal OCaml:
docker build -t esp32 ocaml
- Minimal C:
docker run -t --device=/dev/ttyUSB0 -i esp32 make flash monitor
docker build -t esp32 mirage
docker run -t --device=/dev/ttyUSB0 -i esp32 opam config exec -- make flash monitor