Skip to content

Instantly share code, notes, and snippets.

@kblomqvist
Created December 25, 2011 22:17
Show Gist options
  • Save kblomqvist/1519826 to your computer and use it in GitHub Desktop.
Save kblomqvist/1519826 to your computer and use it in GitHub Desktop.
Build and install AVR32 Toolchain in Debian 6
su root
aptitude install curl flex bison libgmp3-dev libmpfr-dev autoconf build-essential libncurses5-dev libmpc-dev texinfo
git clone git://github.com/jsnyder/avr32-toolchain.git
cd avr32-toolchain
PREFIX=/opt/avr32tools make install-cross #You may need to run this multiple times, see Issue #8
aptitude install libusb-dev
PREFIX=/opt/avr32tools make install-dfu
cd .. && rm -rf avr32-toolchain
exit #leave root
export PATH=$PATH:/opt/avr32tools/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment