Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] C programming on AVR

2008-03-22 by Mike Harrison

On Sat, 22 Mar 2008 18:29:21 +0100, you wrote:

>----- Original Message ----- 
>From: "bronzefury" <bronzefury@yahoo.com>
>To: <AVR-Chat@yahoogroups.com>
>Sent: Friday, March 21, 2008 3:45 PM
>Subject: [AVR-Chat] C programming on AVR
>
>
>> Hi,
>>
>> I haven't seen a good website that teaches how to write C for the AVR
>> and would like to get some opinion from the group about which book
>> you'd recommend.  Sometimes, ratings on Amazon are a bit skewed.  I'd
>> prefer to stick with AVR Studio and WinAVR. I already have the
>> Kernighan & Ritchie book on C.
>
>You don't need anything else, just look at a few embedded C examples and it 
>should be obvious what you need to do.

I'd disagree - C  for  embedded apps, especially on 8-bit targets, has some very important
limitations that aren't typically covered by general C books, which don't tell you what to NOT do to
in order to make things fit and run effifciently in small systems. 

 A book aimed specifically at embedded apps (on any target CPU) will provide valuable information.
Many of the C compiler vendors have appnotes and guides, and even if you're not using their product,
much of the information and techniques will be generally applicable.

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.