An open API service indexing awesome lists of open source software.

https://github.com/prikhi/avr-toolchain-docker

Docker Image with AVR GCC, Git, & Make
https://github.com/prikhi/avr-toolchain-docker

avr avr-gcc docker-image

Last synced: 10 months ago
JSON representation

Docker Image with AVR GCC, Git, & Make

Awesome Lists containing this project

README

          

# AVR Toolchain Docker Image

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

* AVR8 toolchain (gcc-avr, avr-binutils)
* avrdude
* make
* cmake
* git

[View on DockerHub](https://hub.docker.com/r/lysergia/avr-toolchain)

## Building image locally

```bash
git clone git@github.com:prikhi/avr-toolchain-docker.git
cd avr-toolchain
docker build --rm -t lysergia/avr-toolchain:latest .
```

## An example of running toolchain binary

```bash
docker run --rm --privileged -v $(pwd):/build lysergia/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.

```bash
curl https://raw.githubusercontent.com/prikhi/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

```bash
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
```