# HG changeset patch # User darius # Date 1132917596 -37800 # Node ID 108a703c39e6ee321e8760190d3d8bdf9ed6256f # Parent a58b41b7d15c58d0d5e4a76d867ba953a6272392 Covert to a later version of avr-libc. Stuff like not using inb/outb, etc.. Get the mcu/part right, change includes.. diff -r a58b41b7d15c -r 108a703c39e6 Makefile --- a/Makefile Fri Nov 25 21:45:51 2005 +1030 +++ b/Makefile Fri Nov 25 21:49:56 2005 +1030 @@ -5,7 +5,7 @@ PROG= testavr SRCS= 1wire.c testavr.c -PART= 8515 +MCU= at90s8515 CFLAGS+=-Os -g -Wall -fno-inline-functions -fno-inline CFLAGS+=-DXTAL_CPU=4000000 diff -r a58b41b7d15c -r 108a703c39e6 Makefile.avr --- a/Makefile.avr Fri Nov 25 21:45:51 2005 +1030 +++ b/Makefile.avr Fri Nov 25 21:49:56 2005 +1030 @@ -12,8 +12,7 @@ CPPFLAGS+=-Wa,-adhlmsn=${<:S/.c/.lst/} -PART?=8515 -MCU?=at90s${PART} +MCU?=at90s8515 CFLAGS+=-mmcu=${MCU} LDFLAGS+=-Wl,-Map=${PROG}.map,--cref diff -r a58b41b7d15c -r 108a703c39e6 testavr.c --- a/testavr.c Fri Nov 25 21:45:51 2005 +1030 +++ b/testavr.c Fri Nov 25 21:49:56 2005 +1030 @@ -30,7 +30,6 @@ #include #include -#include #include #include #include