Skip to content

WootingKb/avr-toolchain-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Docker image built on top of rust:latest with installed AVR toolchain and few additional tools:

  • AVR8 toolchain (2019, AVR_8_bit_GNU_Toolchain_3.6.2_1759)
  • Python 3 w/ intelhex library
  • Rust (from rust:latest base)
  • Meson & Ninja build tools

DockerHub: https://hub.docker.com/r/sytedev/avr-toolchain

Building image locally

git clone [email protected]:/avr-toolchain-docker.git
cd avr-toolchain
docker build --rm -t sytedev/avr-toolchain:latest .

An example of running toolchain binary

docker run --rm --privileged -v $(pwd):/build lpodkalicki/avr-toolchain avr-gcc -version

Installing

Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs avr-toolchain script into "/usr/bin/" directory.

curl https://raw.githubusercontent.com/lpodkalicki/avr-toolchain-docker/master/install.sh | bash -s --

Getting started

  1. Install toolchain using recommended simple one-line installer.
  2. Use super command avr-toolchain for all toolchain binaries.
  3. Execute toolchain binaries inside your working/project directory.

Examples

$ cd your-project/
$ avr-toolchain avr-gcc --version
$ avr-toolchain make -version
$ avr-toolchain avrdude --help
$ avr-toolchain cmake -version
$ avr-toolchain make && make flash

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 66.1%
  • Shell 33.9%