Tags: tools picture INF official Development Board benefit area x64 shareIn summary, Eclipse Cdt,toolchain uses AVR Libc, as well: A, AVR Eclipse plugin plugin, b, make, RM and other shell command line tools, C, avrdude, to download the program to the microcontroller.This essay is divided into 2 parts, the first part is the software installation and setup steps, the second part establishes a demo project, and compiles, downloads the program to the Dev
: Blinky.rar
!!! Note that the main. cpp of this project is the same as the method in Arduino. You can change the setup () loop () and other content on your own for testing in a convenient way.
As with the above method, import it to eclipse and put the libarduinocore generated above. copy A to this project and overwrite it. Then, configure the compilation parameters. You just need to change several paths. The method is the same as above.
Finally, make all is compiled successfully. The output i
Under Ubuntu research Arduino discovered, originally can not use Arduino IDE development, Linux also has GCC-AVR Direct development AVR series Controller.So, can't wait to see the relevant information, summarize the steps to install the GCC-AVR.PS: Sigh, now that Ubuntu is doing is too easy to use, before very much to worry about things, now is very simple.1, update the system, and install the development package.APT UpdateApt upgradeapt install build-essential2, install the GCC-AVR tool chain.A
(1) Installing the development tool chainYum Install avr-*The following tools will be installedavr-gcc-4.7.2-1.fc17.i686Avr-libc-1.8.0-2.fc17.noarchavr-binutils-2.23.1-1.fc17.i686avr-gcc-c++-4.7.2-1.fc17.i686avr-gdb-7.1-4.fc17.i686Avr-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 ha
1. Install related Toolkit
Sudo apt-get install build-essential binutils-msp430 gcc-msp430 msp430-libc binutils-avr gcc-avr gdb-avr-libc avrdude openjdk-7-jdk openjdk-7-jre ant libncurses5-dev
2. If you use GitHub to manage your Project, you can copy the Contiki Fork to your account and clone it from your repository to your local location. This will facilitate version control in the future.
Git clone git: // github.com/UserName/contiki.git myfolder
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.