Set up the development environment of the AVR Microcontroller in Ubuntu

Source: Internet
Author: User
Note: 1) host environment: Ubuntu10.102) Linux User: root1. install gcc-avr compiler 1.1 to start the "New Software Package Manager", enter "avr" in the search box, and choose to install three software packages: "binutils-avr", "avr-libc", and "gcc-avr", as shown in Figure 1-1. -1: Install gcc-avr compiler 1.2 on the new software package manager and run

Note:

1) host environment: Ubuntu 10.10

2) Linux User: root


1. Install the gcc-avr Compiler

1.1 start the new software package manager, enter "avr" in the search box, and select to install the three software packages: "binutils-avr", "avr-libc", and "gcc-avr", as shown in Figure 1-1.

-1: Install the gcc-avr compiler in the new software package manager.

1.2 after the installation is complete, run the command "avr-gcc-v" on the console to test the installation result, as shown in figure 1-2. If the gcc version can be output, the installation is successful.

-2: view the gcc-avr version.


2. Install the integrated development environment eclipse

2.1 Download eclipse

Log on to the following website: http://www.eclipse.org/downloads/, and select composer Eclipse IDE for C/C ++ Linux Developers, as shown in Figure 2-1.

-1: Download eclipse for C/C ++ Development

In the "Linux 32 Bit" link, enter the download page: http://www.eclipse.org/downloads/download.php? File =/technology/epp/downloads/release/indigo/SR2/eclipse-linuxtools-indigo-SR2-incubation-linux-gtk.tar.gz

On the download page, select an image address that is better connected to the local network to download the image. The default value is:[China] University of Science and Technology of China (http)

2.2 Installation Process

For details, please refer to the Ubuntu environment to build a Java Development Platform http://www.linuxidc.com/Linux/2010-06/26502.htm

Related Article

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.