Atmel AVR: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
m Manpaz moved page Mu-avr to Atmel AVR
Manpaz (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Howto setup Eclipse for AVR GCC toolchain ==
=== Howto setup Eclipse for AVR GCC toolchain ===
* Install avr tools and dependencies
* Install avr tools and dependencies
'''Fedora'''
'''Fedora'''
<nowiki>yum -y install avr-gcc avr-binutils avr-libc avr-gdb avrdude eclipse eclipse-cdt</nowiki>
yum -y install avr-gcc avr-binutils avr-libc avr-gdb avrdude eclipse eclipse-cdt
'''Ubuntu'''
'''Ubuntu'''
<nowiki>apt-get -y install gcc-avr binutils-avr gdb-avr avr-libc avrdude</nowiki>
apt-get -y install gcc-avr binutils-avr gdb-avr avr-libc avrdude eclipse eclipse-cdt
* Update eclipse, ''Help > Check Updates''
* Update eclipse, <code>Help > Check Updates</code>
* Add the AVR plug-in on ''Help > Add New software''
* Add the AVR plug-in on <code>Help > Install New software</code>
* On the new dialog click on 'Add' button and add http://avr-eclipse.sourceforge.net/updatesite in ''Work with'' and "AVR Plugin" in ''name field''
* On the new dialog click on <tt>Add</tt> button and fill in the following fields:
** <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.