Docker image and utilities to compile and upload esp32 binaries using arduino-cli
- Install dependencies (Docker version 19.03.5)
- Run ./build_docker.sh
- Create an sketch. If you want to create a stub sketch, you can run
docker run -v $PWD/[SKETCHBOOK_PATH] -it arduino-cli sketch new [SKETCH_NAME]
- Run ./build_sketch.sh [SKETCHBOOK_PATH_RELATIVE_TO_CURRENT_DIR] [SKETCH_NAME]
- Run ./upload_sketch.sh [SKETCHBOOK_PATH_RELATIVE_TO_CURRENT_DIR] [SKETCH_NAME]