Compiling

A multistage Docker environment is used to build firmware and documentation.

  1. Clone the repository recursively.

    git clone --recursive https://gitlab.com/fluepke/fluepdot.git
    
  2. Build or pull the build container.

    • If you have a high bandwidth internet connection downloading is fastest (~ 10 GB):

      docker pull fluepke/fluepdot-build-environment
      
    • If you have a low bandwidth internet connection building is faster (still ~ 3 GB)

      docker build --force-rm -t fluepke/fluepdot-build-environment -f Dockerfile .
      
  3. Build the second stage container

    docker build --force-rm -t fluepdot -f Dockerfile.build .
    
  4. Run the second stage container and flash the image (assuming your flipdot’s serial device is at /dev/ttyUSB0)

    docker run -d --name fluepdot --device /dev/ttyUSB0:/fluepdot-device:rwm
    docker exec -it fluepdot \
        -w "/fluepdot/software/firmware" \
        -e ESPTOOL_PORT='/fluepdot-device' \
        -e ESPTOOL_BAUD='480000' \
        make flash