[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] F_CPU values for Atmega 169 (Butterfly board)
From: |
Robert L Cochran |
Subject: |
[avr-chat] F_CPU values for Atmega 169 (Butterfly board) |
Date: |
Sun, 16 Mar 2008 21:18:02 -0400 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080226) |
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:
address@hidden 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] F_CPU values for Atmega 169 (Butterfly board),
Robert L Cochran <=