Atmel AVR

From Bashlinux
Jump to: navigation, search

Howto setup Eclipse for AVR GCC toolchain

  • Install avr tools and dependencies

Fedora

yum -y install avr-gcc avr-binutils avr-libc avr-gdb avrdude eclipse eclipse-cdt

Ubuntu

apt-get -y install gcc-avr binutils-avr gdb-avr avr-libc avrdude eclipse eclipse-cdt
  • Update eclipse, Help > Check Updates
  • Add the AVR plug-in on Help > Install New software
  • On the new dialog click on Add button and fill in the following fields:
  • Back to "Available Software" screen, enable the check box for AVR Eclipse Plugin and then hit 'Next' at the bottom of the screen
  • On the "Install Details" click on AVR Eclipse Plugin, then click 'Next'
  • On "Review Licenses" screen, accept the license if you accept the terms and click 'Finish'
    • Click 'Ok' if the "Security Warning" prompts you to confirm the installation
  • Click on 'Yes' when Eclipse finish up the installation and ask you to restart Eclipse itself.