Main Menu
Home
AVR News
Atmel AVR
AVR Development Tools
Valuable Tools
WinAVR toolset
Makefile for WinAVR
AVR Virtual Simulators
Hardware for prototyping
GCC and AVR-GCC
Short introduction to C
AVR-GCC Tutorial
Example AVR Projects
AVR-GCC articles
WinAVR Site Map
Scienceprog FORUM
ScienceProg BLOG
Disclaimer
WinARM Tutorial
Login Form





Lost Password?
No account yet? Register
Latest comments
Measuring motor speed and...
Dear Administrator The code above...
More...

Programming AVR ADC module...
hi please send me example usart with...
More...

Measuring motor speed and...
main.c: In function...
More...

Running TX433 and RX433 RF...
(Hopefully this is not a re-post). I am...
More...

Running TX433 and RX433 RF...
I just bnought a pair of the RX/TX 433...
More...

Syndicate
Friendly sites

Related Items:

Recommended sites


Latest News
Introduction to WinAVR toolset PDF Print E-mail
Written by Administrator   
Tuesday, 08 August 2006
Last Updated ( Wednesday, 12 March 2008 )
WINAVR Toolset 
Probably many developers AVR microcontroller software had a question what compiler to choose for their designs. There are so many choices now in the real world. You can use commercial tool-sets like IAR, CodeVision, ImageCraft. These compilers are shipped with convenient user interfaces, code generators. But...you have to purchase a license to use full their potential. So if you decided to make low budget project, the best choice would be to use open source compiler GCC which has a big potential and it has strong position in society. This is the most successful open source compiler in the world, because it has support in all over the world, it is cheap, it doesn't depend on platform used. For AVR microcontroller platform compiler is called AVR-GCC.

The compiler itself has no graphical interface and all control can be done in MSDOS command line or in Linux command line. In order to make it easier to work with projects there are makefiles used (discussed in other articles), which are the big aid while workin on large projects. GNU compilers as usually are using UNIX style make files. This file can be run with make.exe program found in GCC compiler package. In reality you don’t have to write makefiles – there are ready templates to modify and use.

Probably everyone agrees that use of compiler in command line is not convenient for somebody this may seem too complicated. Good thing is, that compiler can be used in almost any IDE. For instance good open source GUI and editor is Programmers Notepad . Other good choice could be AVRStudio4, where special plugin detects AVR-GCC compiler. The creators of AVRStudio made it possible to integrate GCC compiler. Even makefiles are generated automatically. And you also get ability to simulate your software and watch microcontroller registers and other peripherals. You can program without bothering about other processes that can be done automatically. This is very good news for hobbyists. They can use professional tool...for FREE!

 


Related Items:

   

Users' Comments  
 

Average user rating

 


Add your comment
Only registered users can comment an article. Please login or register.

No comment posted



mXcomment 1.0.6 © 2007-2008 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev

© 2008 WinAVR AVR-GCC Tutorial
Joomla! is Free Software released under the GNU/GPL License.