head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2002.01.14.06.20.36;	author lampret;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.03.08.38.38;	author lampret;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.10.04.27.03;	author lampret;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Updated test cases to use l.nop K instead of l.mtspr 0x1234 and l.sys 20x.
@
text
@common = ../support/except.o ../support/support.o
cases = ints1-nocache ints1-ic ints2-nocache ints2-ic ints1-dc ints2-dc ints1-icdc ints2-icdc ints3-nocache

all: $(cases)

ints1-nocache: $(common) ../support/reset-nocache.o handlers.o ints1.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints1-ic: $(common) ../support/reset-ic.o handlers.o ints1.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints2-nocache: $(common) ../support/reset-nocache.o handlers.o ints2.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints2-ic: $(common) ../support/reset-ic.o handlers.o ints2.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints1-dc: $(common) ../support/reset-dc.o handlers.o ints1.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints2-dc: $(common) ../support/reset-dc.o handlers.o ints2.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints1-icdc: $(common) ../support/reset-icdc.o handlers.o ints1.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints2-icdc: $(common) ../support/reset-icdc.o handlers.o ints2.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints3-nocache: $(common) ../support/reset-nocache.o handlers.o ints3.o
	or32-rtems-ld -T ../support/xess-flash.ld $? -o $@@.or32
	or32-rtems-objcopy -O binary $@@.or32 $@@.bin
	../utils/bin2srec $@@.bin > $@@.srec
	../utils/bin2hex $@@.bin > $@@.hex
	cp $@@.hex ../../sim/src/$@@.mem

ints1.o: ints1.S
	or32-rtems-gcc $? -c -o $@@

ints2.o: ints2.S
	or32-rtems-gcc $? -c -o $@@

ints3.o: ints3.S
	or32-rtems-gcc $? -c -o $@@

handlers.o: handlers.S
	or32-rtems-gcc $? -c -o $@@

clean:
	rm -f *.o *.or32 *.log *.bin *.srec *.hex
@


1.2
log
@Test cases. support/ and utils/ are used by all test cases - build first. Non working tests: setpc, trap, trap2.
@
text
@d2 1
a2 1
cases = ints1-nocache ints1-ic ints2-nocache ints2-ic ints1-dc ints2-dc ints1-icdc ints2-icdc
d62 7
d73 3
@


1.1
log
@Added some tests (nothing to do with mp3 demo)
@
text
@d1 2
a2 1
CCFLAGS = -O2 -g -nostdlib
d4 1
a4 1
all: ints.or32
d6 6
a11 6
ints.or32: ints.o
	or32-rtems-gcc -nostdlib ints.o -o ints.or32
	or32-rtems-objcopy -O binary ints.or32 ints.bin	
	../utils/bin2srec ints.bin > ints.srec
	../utils/bin2hex ints.bin > ints.hex
	cp ints.hex ../../sim/src/flash.in
d13 57
a69 2
ints.o: ints.S
	or32-rtems-gcc $(CCFLAGS) ints.S -c -DOR1K	
d72 1
a72 1
	rm -f *.o ints.or32 *.bin *.srec *.hex
@

