Dockerized containter for AVR GCC toolchain
- Docker install
- Step 1: Clone this repository
git clone git@github.com:brinth/AVR_GCC_Docker.git
- Step 2: cd to cloned directory & Build Docker image
docker build -t <image name> .
Replace <image name>
with any readable name
- Step 3: cd to your AVR GCC project dir and Run Docker container with previously build Docker image
docker run -it --rm -v $PWD:/project -w /project <image name> make
Run Command
docker run -it --rm -v $PWD:/project -v --device <local device file>:<container device file> -w /project <image name> make flash
Replace <local device file>
with the enumerated device file name like /dev/ttyUSB0