Difference between revisions of "Atmel AVR"

From Bashlinux
Jump to: navigation, search
 
Line 6: Line 6:
 
apt-get -y install gcc-avr binutils-avr gdb-avr avr-libc avrdude eclipse eclipse-cdt
 
apt-get -y install gcc-avr binutils-avr gdb-avr avr-libc avrdude eclipse eclipse-cdt
 
* Update eclipse, <code>Help > Check Updates</code>
 
* Update eclipse, <code>Help > Check Updates</code>
* Add the AVR plug-in on <code>Help > Add New software</code>
+
* Add the AVR plug-in on <code>Help > Install New software</code>
* On the new dialog click on <tt>Add</tt> button and fill in the following fields
+
* On the new dialog click on <tt>Add</tt> button and fill in the following fields:
** <tt>Work with:</tt> http://avr-eclipse.sourceforge.net/updatesite
+
** <tt>Name:</tt> AVR Plugin
** <tt>name:</tt> AVR Plugin
+
** <tt>Location:</tt> http://avr-eclipse.sourceforge.net/updatesite
  +
* Back to "Available Software" screen, enable the check box for <code>AVR Eclipse Plugin</code> and then hit 'Next' at the bottom of the screen
  +
* On the "Install Details" click on <code>AVR Eclipse Plugin</code>, 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.

Latest revision as of 22:24, 8 June 2015

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.