Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Differences between C compilers

2005-08-17 by Dennis Clark

It's all about hardware abstraction support.  I mean, being able to use 
calls to configure and use PWM, ADC, I2C, etc. hardware devices.  Some 
compilers offer more/better support for abstracting the hardware so you 
don't have to set up the registers yourself.  GCC offers minimal support 
(but its free), Codevision offers excellent support, and the other 
higher priced ones do too.  Also, code efficiency and optimization 
differ between compilers.  An Atmel FAE told me that most folks say that 
GCC-AVR is almost as good as IAR (who is the best currently).

I kind of like setting the bits in the config registers myself, that way 
I KNOW what is going on, so I don't need a lot of hardware abstraction, 
with a couple of exceptions - I like having ready made I2C, CAN and 
Ethernet libs.

YMMV,
DLC


klassasin wrote:
> I was just wondering, what are the main differences between avr c
> compilers?
> Is it mainly the header files used, or the special functions each
> compiler offers?
> 
> Thanks for clearing this up for me,
> 
> Kevin
> 

-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.