changeset 18:108a703c39e6

Covert to a later version of avr-libc. Stuff like not using inb/outb, etc.. Get the mcu/part right, change includes..
author darius
date Fri, 25 Nov 2005 21:49:56 +1030
parents a58b41b7d15c
children 8dc98a293e43
files Makefile Makefile.avr testavr.c
diffstat 3 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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
--- 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 <avr/io.h>
 #include <avr/interrupt.h>
-#include <avr/signal.h>
 #include <avr/pgmspace.h>
 #include <string.h>
 #include <ctype.h>