Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: AVR Compiler: which is the best

2004-03-16 by erikc

----- Original Message -----
From: "Cobb, Quentin" <quentin_cobb@tescocorp.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Tuesday, March 16, 2004 15:55
Subject: RE: [AVR-Chat] Re: AVR Compiler: which is the best


> >>large body of freely available existing code for the
particular
> compiler-language so I can drop in
> an I2C class, LCD routines etc and not waste my time
writing and debugging
> such code.
>
> This is part of the index from the Codevision Docs:
> ----------------------
> Character Type Functions
> Standard C Input/Output Functions
> Standard Library Functions
> Mathematical Functions
> String Functions
> Variable Length Argument Lists Macros
> Non-local Jump Functions
> BCD Conversion Functions
> Gray Code Conversion Functions
> Memory Access Functions
> Delay Functions
> LCD Functions
> LCD Functions for displays with 4x40 characters
> LCD Functions for displays connected in 8 bit memory
mapped mode
> I2C Bus Functions
> National Semiconductor LM75 Temperature Sensor Functions
> Dallas Semiconductor DS1621 Thermometer/Thermostat
Functions
> Philips PCF8563 Real Time Clock Functions
> Philips PCF8583 Real Time Clock Functions
> Dallas Semiconductor DS1302 Real Time Clock Functions
> Dallas Semiconductor DS1307 Real Time Clock Functions
> 1 Wire Protocol Functions
> Dallas Semiconductor DS1820/DS18S20 Temperature Sensors
Functions
> Dallas Semiconductor DS2430 EEPROM Functions
> Dallas Semiconductor DS2433 EEPROM Functions
> SPI Functions
> Power Management Functions
> ----------------------
> I expect the others have a similar list.  I don't think
GCC does, but since
> it's open source there are many examples published
everywhere - probably has
> the biggest online codebase.
>
> >>I would like to have the option to port my code to other
micros if the
> need arises.
>
> GCC is the most portable by far. (GCC for the AVR is
itself a port)
> Codevision & Imagecraft are C so the C code is portable,
however the chip
> specific stuff (setting and reading ports, ADC PWM etc)
and UI isn't.  You
> can take GCC code and import it into Codevision (and
vice-versa) but it
> needs a lot of work - unless you design portability into
the code in the
> first place.  If you anticipate needing to take an AVR
program and porting
> it to a PIC then GCC is clearly your best bet.

Here is another possible source for the kinds of code you
list above.
.  "Embedded System Building Blocks, Second Edition" by Jean
J. Labrosse.
ISBN 0-87930-604-1.  Labrosse is also the author of
"MicroC/OS-II" also published by Miller Freeman.

Erikc  - firewevr@airmail.net
///
"An Fhirinne in aghaidh an tSaoil."
"The Truth against the World."
        -- Bardic Motto

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.