Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Which C compiler?

2005-08-12 by David Kelly

On Fri, Aug 12, 2005 at 06:22:39PM -0000, brewski922 wrote:
> My favorite C compiler for Atmel AVRs is CodeVisionAVR. One of the 
> big things I like about CV is the CodeWizard.

One of the things I DON'T like about any embedded development system is
hidden magical wizards and libraries. While it could make things easier,
too often it only makes things harder.

For example I posted earlier this week here or elsewhere my ee_writes()
routine. Originally wrote my own without thinking to look in avr-libc. I
desired control over variable usage and IRQ. Later looked in avr-libc
and found that routine would have been acceptable but mine was in C and
only 2 oe 4 bytes larger. Mine stayed.

I feel the same way about printf() and malloc(). As a general rule they
have no place in the projects I undertake.

Will shortly be importing an 802.15.4 MAC layer in a project. Suspect
many of my biases will have to be thrown out the window to accommodate
that mass of foreign code. Will be P.O.'ed if I find printf() in it.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

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.