Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the best C compiler for AVR?

Status
Not open for further replies.

maziar

Full Member level 4
Joined
Jun 6, 2001
Messages
195
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Islamic republic of Iran
Activity points
1,564
post compile optimizer

i try select best c compile for avr for :

1. optimization (Size & Speed) [most important]
2. Bug free
3. good library
4. popular
5. good IDE

which of c compiler avr is better ? can help in compare ?
 

Re: Best C compiler for AVR

Most compilers are nearly bug free. But very difficult to expect and ensure zero bugs? Only by using!
 

Re: Best C compiler for AVR

Also look here:
**broken link removed**

best regards
 

Re: Best C compiler for AVR

GCC C compiler have power full libs, no experience
 

Re: Best C compiler for AVR

I worked with im@gecraft but its IDE is not good,I can say it have no IDE!

I think I@R c c0mpiler is the best for @VR.But you can not find a compiler of @vr Like as KKKKKeeeeeiiiillllll for 8o51.


bye
 

Re: Best C compiler for AVR

I think that I@R C compiler is a good choice
 

I would choose IAR or CodeVision.
 

Re: Best C compiler for AVR

If your code is not big, use codevision. Otherwise use IAR.
 

My opinion is -->Codevision
 

Re: Best C compiler for AVR

My experience,

a program for AVR Tiny26

Imagecraft: code size 83%

IAR: 61%

See the difference?
 

Re: Best C compiler for AVR

Hi andyyau
Did you check with Imagecraft Professional or Standard Version?
The Professional version incorporates code optimization and claims about 15% code size reduction!
 

Re: Best C compiler for AVR

andyyau said:
My experience,

a program for AVR Tiny26

Imagecraft: code size 83%

IAR: 61%

See the difference?


please more comment
i no undestand Iar better or imagecraft for optimization ?
 

Re: Best C compiler for AVR

maziar said:
andyyau said:
My experience,

a program for AVR Tiny26

Imagecraft: code size 83%

IAR: 61%

See the difference?


please more comment
i no undestand Iar better or imagecraft for optimization ?
I guess he means that his program ueses 83% of the Flash mem when he compiles it with Imagecraft and 61% when compiled with IAR.
So IAR makes the most compact code of the two, at least in this case.

I don't know how CodeVision compares to these two compilers.
 

Re: Best C compiler for AVR

What ramesh is refering to is the version of im@gecraft. The pro version has a post compile optimizer, the standard version does not. If he compiled under the standard version, that might be the size discrepancy. At one point in time, I looked at the difference in the generation of the two different versions. It was just an easy way of generating more money.

As for my two cents, I have used GCC and Im@gecraft. I would pick Im@gecraft any day of the week. GCC has so many quirks. If the code is not written just right (and I am referring to how the compiler wants to see it, not C standard) all sorts of unexpected things happen.

robotman
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top