Sign inSign up

lpodkalicki/avr-toolchain

By lpodkalicki

•Updated about 5 years ago

Dockerized AVR toolchain.

Image
1

4.9K

lpodkalicki/avr-toolchain repository overview

⁠Overview

Lightweight docker image built on top of alpine with installed AVR toolchain and few additional tools:

  • avr-gcc toolchain (>= v10)
  • avr-libc
  • avrdude
  • make
  • cmake

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

⁠Building image locally

git clone [email protected]:lpodkalicki/avr-toolchain-docker.git
cd avr-toolchain
docker build --rm -t lpodkalicki/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
$ avr-toolchain flash

Tag summary

Content type

Image

Digest

Size

70.3 MB

Last updated

about 5 years ago

docker pull lpodkalicki/avr-toolchain