Installation of the AVR development environment under Linux

Source: Internet
Author: User

(1) Installing the development tool chain

Yum Install avr-*

The following tools will be installed

avr-gcc-4.7.2-1.fc17.i686
Avr-libc-1.8.0-2.fc17.noarch
avr-binutils-2.23.1-1.fc17.i686
avr-gcc-c++-4.7.2-1.fc17.i686
avr-gdb-7.1-4.fc17.i686
Avr-libc-doc-1.8.0-2.fc17.noarch
(2) installation (Usbkey boot loader)

Yum Install Dfu-programmer
(3) installation (Avrdude)

Yum Install Avrdude
(4) Installation and Debugging Tools hardware driver ()
Yum Install avarice

(5) This section is not read.
Allow USB access to nonroot users (FEDORA12):

# Add Udev Rules
Cat >/etc/udev/rules.d/90-dragon.rules
subsystem== "USB", attr{idvendor}== "03eb", attr{idproduct}== "2107", mode:= "666"

# Reload Rules
Udevadm Control--reload-rules
(6) Installation of SIMAVR, installation SIMAVR process will require libelf.h and glut3.h

To install Libelf and Freeglut first
Yum Install Freeglut-devel
Yum Install elfutils-libelf-devel*

SIMAVR cannot be installed with yum, download the source package first
git clone git://gitorious.org/simavr/simavr.git

CD SIMAVR
Make
Make install

Installation is complete.

Installation of the AVR development environment under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.