While trying to compile an LED blink program (the one from Joe Pardue in
his book on the AVR Butterfly) I did this on Fedora 7. I am not using
WinAVR but the avr toolchain in Fedora 7:

[EMAIL PROTECTED] butterfly]$ avr-gcc -I. -I/usr/avr/include -std=c99 -g
-mmcu=atmega169 -Os -fpack-struct -fshort-enums -funsigned-bitfields
-funsigned-char -Wall -Wstrict-prototypes -Wa,-ahlms=blinky.lst -c
blinky.c -o blinky.o
In file included from blinky.c:4:
/usr/lib/gcc/avr/4.1.2/../../../../avr/include/util/delay.h:84:3:
warning: #warning "F_CPU not defined for <util/delay.h>"

What values for F_CPU do I need?

Thanks

Bob Cochran


_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to