From f2114c72ecf341b6b8cfb71c440cef7aeb2ccf0c Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 20 Jul 2010 19:59:30 +0000 Subject: [PATCH] * avr/z80.asm: - Added ATmega328P git-svn-id: svn://cu.loc/avr-cpm/trunk@41 57430480-672e-4586-8877-bcf8adbbf3b7 --- avrcpm/avr/Makefile | 7 ++++--- avrcpm/avr/z80.asm | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/avrcpm/avr/Makefile b/avrcpm/avr/Makefile index b1a4afe..1d0d5c3 100644 --- a/avrcpm/avr/Makefile +++ b/avrcpm/avr/Makefile @@ -2,10 +2,11 @@ # is public domain), believed to be neutral to any flavor of "make" # (GNU make, BSD make, SysV make) -MCU = atmega8 -#F_CPU = 12288000 +#MCU = atmega8 +MCU = atmega328P +#F_CPU = 24576000 F_CPU = 20000000 -BAUD = 57600 +BAUD = 115200 DRAM_DQ_ORDER = 1 TARGET = z80 diff --git a/avrcpm/avr/z80.asm b/avrcpm/avr/z80.asm index b7e77ce..0f2e46b 100644 --- a/avrcpm/avr/z80.asm +++ b/avrcpm/avr/z80.asm @@ -21,6 +21,8 @@ .include "m8def.inc" #elif defined atmega168 .include "m168def.inc" +#elif defined atmega328P + .include "m328Pdef.inc" #else /* default */ .include "m88def.inc" ;FUSE_H=0xDF -- 2.39.2