/arduino-cli-esp32

Docker image and utilities to compile and upload esp32 binaries using arduino-cli

Primary LanguageDockerfile

What is this?

Docker image and utilities to compile and upload esp32 binaries using arduino-cli

Usage

  1. Install dependencies (Docker version 19.03.5)
  2. Run ./build_docker.sh
  3. 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]
  4. Run ./build_sketch.sh [SKETCHBOOK_PATH_RELATIVE_TO_CURRENT_DIR] [SKETCH_NAME]
  5. Run ./upload_sketch.sh [SKETCHBOOK_PATH_RELATIVE_TO_CURRENT_DIR] [SKETCH_NAME]