Atmel AVR: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
No edit summary
Manpaz (talk | contribs)
No edit summary
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 eclipse eclipse-cdt</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 > Add 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>Work with:</tt> http://avr-eclipse.sourceforge.net/updatesite
** <tt>name:</tt> AVR Plugin

Revision as of 22:04, 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 > Add New software
  • On the new dialog click on Add button and fill in the following fields