Difference between revisions of "Atmel AVR"
From Bashlinux
(One intermediate revision 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''' |
||
− | + | yum -y install avr-gcc avr-binutils avr-libc avr-gdb avrdude eclipse eclipse-cdt |
|
'''Ubuntu''' |
'''Ubuntu''' |
||
− | + | apt-get -y install gcc-avr binutils-avr gdb-avr avr-libc avrdude eclipse eclipse-cdt |
|
− | * Update eclipse, |
+ | * Update eclipse, <code>Help > Check Updates</code> |
− | * Add the AVR plug-in on |
+ | * Add the AVR plug-in on <code>Help > Install New software</code> |
− | * On the new dialog click on |
+ | * 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:
- Name: AVR Plugin
- Location: http://avr-eclipse.sourceforge.net/updatesite
- 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.