[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] hello world
From: |
douglas irving repetto |
Subject: |
[avr-gcc-list] hello world |
Date: |
Tue Jan 16 12:18:04 2001 |
hi,
i've been using avrstudio on windows for awhile, but would like to move
my avr work to linux and start doing some work in C instead of asm.
however, i'm finding it difficult to figure out where to start, and i
can't find some basic info on the web. i've found the installation
guides, but not the how-tos. i
could someone post a simple step-by step explanation of how to go from a
simple C program (LED flashing or something) to running that program on
an avr chip? that probably sounds like a stupid request, but it would
really be helpful, and i imagine there are others that would benefit
from such a thing...
e.g.:
//helloworld.c
void main ()
{
//here's how you blink an LED
blinkit();
blah blah blah
}
void blinkit()
{
blah blah blah
}
-----
> gcc helloworld.c -o helloworld -lblahblahblah
-----
etc.
i've just downloaded and installed the rpm packages. i'm on a RH6.2 box,
but have access to other configs if needed. i have an old atmel AVR
board and a new STK200.
of course, if this already exists and i've missed, i'd love to have a
link!
thanks a lot,
douglas
--
douglas irving repetto
http://music.columbia.edu/~douglas
http://shoko.calarts.edu/musicdsp
http://music.columbia.edu/cmc/dorkbotnyc
- [avr-gcc-list] hello world,
douglas irving repetto <=