Git Product home page Git Product logo

avr32-toolchain's Introduction

Gomspace AVR32 toolchain

This repository contains the scripts needed to build the AVR32 toolchain with GomSpace modifications. It is based on the work done by https://github.com/embecosm/avr32-toolchain

Repository structure:

scripts/ avr32-clone-all.sh <- Clone the dependencies avr32-versions.sh <- Defines the branches for the dependencies build-all.sh <- The script that build the toolchain Dockerfile <- Dockerfile used to build docker image used for toolchain building

Cloning dependencies:

Clone this repo to your computer. Then cd into the root of this repo and run:

./scripts/avr32-clone-all.sh

This will clone all the required dependencies

Building the toolchain:

The toolchain is built inside a docker container. To create the docker container run this command:

docker build scripts/ -t toolchainbuild

When the container is ready, the toolchain can be built like this:

docker run --rm -v pwd:/home/toolbuild -w /home/toolbuild/scripts -t toolchainbuild ./build-all.sh

After 10-15 minutes a new version of the toolchain is available as: avr32-gnu-toolchain-<version>.<patchlevel>-linux.any.x86_64.tar.gz. Version and patchlevel is set by the build-all.sh script.

There is also a file called: gs-avr32-toolchain-<version>.tar.gz This file contains the built toolchain, header files for avr32, the programmer tool and install script

Modifying newlib:

If your modifications to newlib contains changes to the build system, you shall re-generate the autotool files. From the root of the toolchain directory from above, run the command:

docker run --rm -v pwd:/home/toolbuild -w /home/toolbuild/newlib/newlib -t toolchainbuild autoreconf2.64

avr32-toolchain's People

Contributors

jeremybennett avatar bfol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.