Re: [AVR-Chat] WinAVR Manual
2005-07-17 by Brian Dean
On Sat, Jul 16, 2005 at 10:27:42PM -0500, Chuck Hackett wrote:
> Hmmm, this is another problem. I just discovered that one of the
> items I was looking for <SIGNAL()> was a avr-libc item NOT a GCC
> item.
Also, check the avr-libc docs which is probably closer to what you
want. The GCC docs typically apply to all ports - there's not much
AVR specific information there. All the good stuff for the AVR port
is maintained in the avr-libc project. See their excellent docs here:
http://www.nongnu.org/avr-libc/user-manual/
There's an FAQ there also that answers many of the issues AVR-GCC
first-timers run into. Some of these may not necessarily be specific
to the AVR, but apply to embedded programming in general and are
questions that have appeared regularly on the avr-gcc mailing list.
Here is the FAQ:
http://www.nongnu.org/avr-libc/user-manual/FAQ.html
> So I guess my documentation question is more generally: How does one
> determine what documentation to consult and then how to navigate
> that documentation?
>
> Or, does one just have to build a critical mass of knowledge that
> you have to have in your head before you can be productive?
Yeah, pretty much, as in all things. Struggle at first, hit the knee
of the curve and its much smoother sailing after that.
> A related question: Is there a "How to build programs with WinAVR"
> manual? Covering things like how to handle interrupts, etc. I have
> the book "Embedded C Programming and the ATMEL AVR" but it's
> oriented around Codevision not WinAVR.
While maybe not exactly what you are looking for, there are a few
"demo" projects described in the above avr-libc docs. These go into a
good bit of detail about how to set things up and get going.
Unfortunately, the manual is frames based so pasting a URL while
preserving the frames doesn't work, but here is a direct link:
http://www.nongnu.org/avr-libc/user-manual/group__demos.html
This is found under the "Modules" section from the main page. "Demo
projects" is near the bottom.
Hope this helps.
-Brian
--
Brian Dean
ATmega128 based MAVRIC controllers
http://www.bdmicro.com/