#
# $Id: Makefile.bak,v 1.1 2006/02/04 03:07:54 gzhang Exp $
#

ARM_ELF_DIR = /opt/crosstool/arm-elf

CC=$(ARM_ELF_DIR)/bin/gcc
#CC=/home/tako/hdk/linux/arm-elf/gcc-3.4.3/arm-elf/bin/gcc
ELF2HEX=../tools/elf2hex
ELF2MEM=../../../../inst/intel_i686_linux_2.4.9-13smp/elf2mem
LIST2FILES=../tools/list2files.pl
ELF2FILES=../tools/elf2files
HEX2SRAM3=hex2sram3.pl
#OBJDUMP=/home/tako/hdk/linux/arm-elf/gcc-3.4.3/arm-elf/bin/objdump
OBJDUMP=objdump

ARM_INCLUDE_DIR = $(ROOT)/usr/include/arm
BW_INCLUDE_DIR = $(ROOT)/usr/include/rvl


SRAM_SPLASH_CFLAGS_B= -I$(ARM_INCLUDE_DIR) -I../include -I$(BW_INCLUDE_DIR) -L$(ROOT)/usr/lib/rvl  -ffreestanding -nostdlib -mbig-endian -Ttext 0xfff00000 -Tdata 0xfff04000


CFLAGS_B=-x assembler-with-cpp -ffreestanding -nostdlib -mbig-endian -Ttext 0xffff0000
SRAM_CFLAGS_B= -I$(ARM_INCLUDE_DIR) -I../include -ffreestanding -nostdlib -mbig-endian -Ttext 0xfff00000 -Tdata 0xfff03000
SRAM_CFLAGS2_B= -I$(ARM_INCLUDE_DIR) -I../include -I$(PROJECT_ROOT)/main/dist/include -I$(PROJECT_ROOT)/main/dist/include/diag -I$(PROJECT_ROOT)/main/bw/include -ffreestanding -nostdlib -mbig-endian -Ttext 0xfff00000 -Tdata 0xfff05000
SRAM_CFLAGS_INT_B= -I$(PROJECT_ROOT)/main/dist/include/diag/arm -I../include -I../../aes -I$(PROJECT_ROOT)/main/bw/include -ffreestanding -nostdlib -mbig-endian -Ttext 0xfff00000 -Tdata 0xfff02000
SRAM_CFLAGS_2_B= -I../include -c -x assembler-with-cpp -mbig-endian -Ttext 0xfff00000 -Tdata 0xfff04000
SPLASH_FLAGS_B= -I../include -ffreestanding -nostdlib -mbig-endian -Ttext 0x00100000 -Tdata 0x00103800
SPLASH_FLAGS2_B= -I../include -ffreestanding -nostdlib -mbig-endian -Ttext 0x00011500 -Tdata 0x00012800
SPLASH_FLAGS3_B= -I../include -I$(PROJECT_ROOT)/main/dist/include -I$(PROJECT_ROOT)/main/dist/include/diag -I$(PROJECT_ROOT)/main/bw/include -ffreestanding -nostdlib -mbig-endian -Ttext 0x00012000 -Tdata 0x00016800
DDR_FLAGS_B= -I../include -ffreestanding -nostdlib -mbig-endian -Ttext 0x10000000 -Tdata 0x10002000
DDR_FLAGS2_B= -I../include -I$(PROJECT_ROOT)/main/dist/include -I$(PROJECT_ROOT)/main/dist/include/diag -I$(PROJECT_ROOT)/main/bw/include -ffreestanding -nostdlib -mbig-endian -Ttext 0x10000000 -Tdata 0x10005000
SRAM_FLAGS_B_C= -I../include -c -mbig-endian -Ttext 0xffff0000

LIB_PATH=$(PROJECT_ROOT)/main/hw/diag/lib/arm/ARMSIMdbg

LIBS = -lsys -lioslibc


all: napa1B.arm #cache_sram1B.arm cache_sram2B.arm cache_sram3B.arm cache_sram4B.arm cache_sram5B.arm cache_sram6B.arm cache_sram7B.arm cache_sram8B.arm cache_sram9B.arm cache_sram10B.arm cache_sram11B.arm cache_sram12B.arm cache_sram13B.arm cache_sram14B.arm napa1B.arm napa2B.arm napa3B.arm napa4B.arm napa5B.arm napa6B.arm napa7B.arm napa8B.arm napa9B.arm napa10B.arm napa11B.arm napa.mem napa_2.mem napa_3.mem napa_9.mem napa_11.mem ddr1B.arm ddr4B.arm ddr5B.arm ddr.mem ddr_2.mem ddr_3.mem ddr_4.mem ddr_5.mem adwalk_test.arm

#
# NAPA test: I/D Caches disabled, NAPA code at 0x00100000
#
napa1B.arm: sram_init1B.o napa1.c 
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa1B.elf sram_init1B.o napa1.c $(LIBS) #$(LIB_PATH)/common.a

#
# NAPA test: ICache enabled, NAPA code at 0x00100000
#
napa2B.arm: sram_init1B.o napa2.c 
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa2B.arm sram_init1B.o napa2.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa2B.arm d
	$(HEX2SRAM3) napa2B.hex napa2B

#
# NAPA test: DCache + MMU enabled, NAPA code at 0x00100000
#
napa3B.arm: sram_init1B.o napa3.c 
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa3B.arm sram_init1B.o napa3.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa3B.arm d
	$(HEX2SRAM3) napa3B.hex napa3B

#
# NAPA test: D+ICache + MMU enabled, NAPA code at 0x00100000
#
napa4B.arm: sram_init1B.o napa4.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa4B.arm sram_init1B.o napa4.c $(LIB_PATH)/common.a 
	$(ELF2FILES) napa4B.arm d
	$(HEX2SRAM3) napa4B.hex napa4B

#
# NAPA test: D+ICache + MMU enabled, NAPA code at 0x00011500
#
napa5B.arm: sram_init1B.o napa5.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa5B.arm sram_init1B.o napa5.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa5B.arm d
	$(HEX2SRAM3) napa5B.hex napa5B

#
# NAPA test: D+ICache + MMU enabled, Nonbuffered SRAM, NAPA code at 0x00100000
#
napa6B.arm: sram_init1B.o napa6.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa6B.arm sram_init1B.o napa6.c $(LIB_PATH)/common.a 
	$(ELF2FILES) napa6B.arm d
	$(HEX2SRAM3) napa6B.hex napa6B

#
# NAPA test: D+ICache + MMU enabled, Nonbuffered SRAM, NAPA code at 0x00011500
#
napa7B.arm: sram_init1B.o napa7.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa7B.arm sram_init1B.o napa7.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa7B.arm d
	$(HEX2SRAM3) napa7B.hex napa7B

#
# NAPA test: D+ICache + MMU enabled, Nonbuffered SRAM, NAPA code at 0x00100000
#
napa8B.arm: sram_init1B.o napa6.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa8B.arm sram_init1B.o napa6.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa8B.arm d
	$(HEX2SRAM3) napa8B.hex napa8B

#
# NAPA test: DMA, NAPA code at 0x00012500
#
napa9B.arm: sram_init1B.o napa9.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa9B.arm sram_init1B.o napa9.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa9B.arm d
	$(HEX2SRAM3) napa9B.hex napa9B

#
# NAPA test: DMA & D+ICache + MMU enabled, Nonbuffered SRAM, NAPA code at 0x00012500
# Setup TTB for DMA access
napa10B.arm: sram_init1B.o napa10.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa10B.arm sram_init1B.o napa10.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa10B.arm d
	$(HEX2SRAM3) napa10B.hex napa10B

#
# NAPA test: DMA & D+ICache + MMU enabled, Nonbuffered SRAM, NAPA code at 0x00012500
# Setup TTB for DMA + Int access
napa11B.arm: sram_init3B.o napa10.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o napa11B.arm sram_init3B.o napa10.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa11B.arm d
	$(HEX2SRAM3) napa11B.hex napa11B

#
# DDR test: D+ICache + MMU enabled
#
ddr1B.arm: sram_init1B.o ddr1.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o ddr1B.arm sram_init1B.o  ddr1.c $(LIB_PATH)/common.a
	$(ELF2FILES) ddr1B.arm d
	$(HEX2SRAM3) ddr1B.hex ddr1B

#
# DDR test: DMA + D+ICache + MMU enabled
#
ddr4B.arm: sram_init1B.o ddr4.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o ddr4B.arm sram_init1B.o  ddr4.c $(LIB_PATH)/common.a
	$(ELF2FILES) ddr4B.arm d
	$(HEX2SRAM3) ddr4B.hex ddr4B

#
# DDR test: DMA + D+ICache + MMU enabled + Interrupts
#
ddr5B.arm: sram_init3B.o ddr4.c
	$(CC) $(SRAM_SPLASH_CFLAGS_B) -o ddr5B.arm sram_init3B.o  ddr4.c $(LIB_PATH)/common.a
	$(ELF2FILES) ddr5B.arm d
	$(HEX2SRAM3) ddr5B.hex ddr5B

#
# Sram1 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code does not call the assembler cache enable routines,
# so it should run uncached for I and D space.
#
cache_sram1B.arm: sram_init1B.o cache_sram1.c
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram1B.arm sram_init1B.o cache_sram1.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram1B.arm d
	$(HEX2SRAM3) cache_sram1B.hex cache_sram1B

#
# Sram2 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, but the cache setting will be over-ridden by the MMU
# disabled setting so it should still run uncached for D space 
# and uncached for I space.
#
cache_sram2B.arm: sram_init1B.o cache_sram2.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram2B.arm sram_init1B.o cache_sram2.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram2B.arm d
	$(HEX2SRAM3) cache_sram2B.hex cache_sram2B

#
# Sram3 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, but the MMU is set up in no-access mode, so no code
# will be loaded or executed once the MMU is on.
#
cache_sram3B.arm: sram_init1B.o cache_sram3.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram3B.arm sram_init1B.o cache_sram3.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram3B.arm d
	$(HEX2SRAM3) cache_sram3B.hex cache_sram3B

#
# Sram4 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, and the MMU is set up in manager mode, which does
# not check permissions on pages, so code will be loaded and
# executed once the MMU is on, and data reads and writes should
# work as normal.   Section is non-buffered and non-cached.
#
cache_sram4B.arm: sram_init1B.o cache_sram4.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram4B.arm sram_init1B.o cache_sram4.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram4B.arm d
	$(HEX2SRAM3) cache_sram4B.hex cache_sram4B

#
# Sram5 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, and the MMU is set up in manager mode, which does
# not check permissions on pages, so code will be loaded and
# executed once the MMU is on, and data reads and writes should
# work as normal.     Section is buffered and non-cached.
#
cache_sram5B.arm: sram_init1B.o cache_sram5.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram5B.arm sram_init1B.o cache_sram5.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram5B.arm d
	$(HEX2SRAM3) cache_sram5B.hex cache_sram5B

#
# Sram6 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, and the MMU is set up in manager mode, which does
# not check permissions on pages, so code will be loaded and
# executed once the MMU is on, and data reads and writes should
# work as normal.     Section is write-through.
#
cache_sram6B.arm: sram_init1B.o cache_sram6.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram6B.arm sram_init1B.o cache_sram6.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram6B.arm d
	$(HEX2SRAM3) cache_sram6B.hex cache_sram6B

#
# Sram7 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, and the MMU is set up in manager mode, which does
# not check permissions on pages, so code will be loaded and
# executed once the MMU is on, and data reads and writes should
# work as normal.     Section is write-back.  No cache flush.
#
cache_sram7B.arm: sram_init1B.o cache_sram7.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram7B.arm sram_init1B.o cache_sram7.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram7B.arm d
	$(HEX2SRAM3) cache_sram7B.hex cache_sram7B

#
# Sram8 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for D
# space, and the MMU is set up in manager mode, which does
# not check permissions on pages, so code will be loaded and
# executed once the MMU is on, and data reads and writes should
# work as normal.     Section is write-back.  D-cache gets flushed.
#
cache_sram8B.arm: sram_init1B.o cache_sram8.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram8B.arm sram_init1B.o cache_sram8.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram8B.arm d
	$(HEX2SRAM3) cache_sram8B.hex cache_sram8B

#
# Sram9 (~Sram2) is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler I-cache enable routines for I
# space, MMU is disabled, so it should still run uncached for D space
# and cached for I space.
#
cache_sram9B.arm: sram_init1B.o cache_sram9.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram9B.arm sram_init1B.o cache_sram9.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram9B.arm d
	$(HEX2SRAM3) cache_sram9B.hex cache_sram9B

#
# Sram10 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for I/D
# space, setup MMU to enable I/D cache, it should run cached for I/D space
#
cache_sram10B.arm: sram_init1B.o cache_sram10.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram10B.arm sram_init1B.o cache_sram10.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram10B.arm d
	$(HEX2SRAM3) cache_sram10B.hex cache_sram10B

#
# Sram11 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for I/D
# space, setup MMU to enable I/D cache, it should run cached for I/D space
# It tests R/W 4, 2, 1 byte size data
#
cache_sram11B.arm: sram_init1B.o cache_sram11.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram11B.arm sram_init1B.o cache_sram11.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram11B.arm d
	$(HEX2SRAM3) cache_sram11B.hex cache_sram11B

#
# Sram11 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for I/D
# space, setup MMU to enable I/D cache, it should run cached for I/D space
# It tests R/W 4, 2, 1 byte size data
#
cache_sram12B.arm: sram_init1B.o cache_sram12.c 
	$(CC) $(SRAM_CFLAGS_B) -o cache_sram12B.arm sram_init1B.o cache_sram12.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram12B.arm d
	$(HEX2SRAM3) cache_sram12B.hex cache_sram12B

#
# Sram13 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for I/D
# space, setup MMU to enable I/D cache, it should run cached for I space
# Enable interrupts, R/W access in parallel with AES/DMA data transfers
#
cache_sram13B.arm: sram_init2B.o cache_sram13.c 
	$(CC) $(SRAM_CFLAGS_INT_B) -o cache_sram13B.arm sram_init2B.o cache_sram13.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram13B.arm d
	$(HEX2SRAM3) cache_sram13B.hex cache_sram13B

#
# Sram14 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
#
# The c-code calls the assembler cache enable routines for I/D
# space, setup MMU to enable I/D cache, it should run cached for I/D space
# Enable interrupts, R/W access in parallel with AES/DMA data transfers
#
cache_sram14B.arm: sram_init2B.o cache_sram14.c 
	$(CC) $(SRAM_CFLAGS_INT_B) -o cache_sram14B.arm sram_init2B.o cache_sram14.c $(LIB_PATH)/common.a
	$(ELF2HEX) cache_sram14B.arm d
	$(HEX2SRAM3) cache_sram14B.hex cache_sram14B

#
# Sram_init1B.o is vector code which needs to be linked to a user
# program, and which will be resident at the start of sram.
#
sram_init1B.o: sram_init1.s
	$(CC) $(SRAM_CFLAGS_2_B) -o sram_init1B.o sram_init1.s
#
# Sram2 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
# Setsup (DMA) ISR
#
sram_init2B.o: sram_init2.s
	$(CC) $(SRAM_CFLAGS_2_B) -o sram_init2B.o sram_init2.s

#
# Sram3 is a stand-alone program built from the sram-resident
# vector code, plus a c-language user program.
# Setsup (DMA) ISR; modified ver. of sram_init2 without external interrupt_service
#
sram_init3B.o: sram_init3.s
	$(CC) $(SRAM_CFLAGS_2_B) -o sram_init3B.o sram_init3.s
#
# Sram4 provides ISR setup api
#
sram_init4B.o: sram_init4.s
	$(CC) $(SRAM_CFLAGS_2_B) -o sram_init4B.o sram_init4.s

#
# cache test code which needs to be called from SRAM
# program, and which will be resident in NAPA - at 0x00100000
#
napa.mem: cachetst.c
	$(CC) $(SPLASH_FLAGS_B) -o napa.arm cachetst.c $(LIB_PATH)/common.a
	$(ELF2MEM) -m -f napa.arm >> napa.mem

#
# cache test code which needs to be called from SRAM
# program, and which will be resident in NAPA - at 0x00011500
#
napa_2.mem: cachetst.c
	$(CC) $(SPLASH_FLAGS2_B) -o napa_2.arm cachetst.c $(LIB_PATH)/common.a
	$(ELF2MEM) -m -f napa_2.arm >> napa_2.mem

#
# access 32 bit word; access pattern is out of order
# resident in NAPA - at 0x00100000
#
napa_3.mem: cachetst3.c
	$(CC) $(SPLASH_FLAGS_B) -o napa_3.arm cachetst3.c $(LIB_PATH)/common.a
	$(ELF2MEM) -m -f napa_3.arm >> napa_3.mem

#
# access 32 bit word; concurrent DMA 
# resident in NAPA - at 0x00012500
#
napa_9.mem: cachetst9.c dmatest.c aes.c 
	$(CC) $(SPLASH_FLAGS3_B) -o napa_9.arm cachetst9.c dmatest.c aes.c $(LIB_PATH)/common.a
	$(ELF2FILES) napa_9.arm d
	$(ELF2MEM) -m -f napa_9.arm >> napa_9.mem

#
# access 32 bit word; concurrent DMA 
# resident in NAPA - at 0x00012500
#
napa_11.mem: cachetst9.c dmaInttest.c aes.c sram_init4B.o
	$(CC) $(SPLASH_FLAGS3_B) -o napa_11.arm cachetst9.c dmaInttest.c aes.c sram_init4B.o $(LIB_PATH)/common.a
	$(ELF2FILES) napa_11.arm d
	$(ELF2MEM) -m -f napa_11.arm >> napa_11.mem

#
# cache test code which needs to be called from SRAM
# program, and which will be resident in DDR.
#
ddr.mem: cachetst.c
	$(CC) $(DDR_FLAGS_B) -o ddr.arm cachetst.c $(LIB_PATH)/common.a
	$(ELF2MEM) -m -f ddr.arm >> ddr.mem

#
# cache test code which needs to be called from SRAM
# program, and which will be resident in DDR.
#
ddr_2.mem: cachetst2.c
	$(CC) $(DDR_FLAGS_B) -o ddr_2.arm cachetst2.c $(LIB_PATH)/common.a
	$(ELF2MEM) -m -f ddr_2.arm >> ddr_2.mem

#
# access 32 bit word, 16bit half word and bytes; access pattern is out of order
#
ddr_3.mem: cachetst4.c
	$(CC) $(DDR_FLAGS_B) -o ddr_3.arm cachetst4.c $(LIB_PATH)/common.a
	$(ELF2MEM) -m -f ddr_3.arm >> ddr_3.mem

#
# access 32 bit word, access pattern is out of order
# includes DMA transfer 
#
ddr_4.mem: ddr_4.c dmatest.c aes.c 
	$(CC) $(DDR_FLAGS2_B) -o ddr_4.arm ddr_4.c dmatest.c aes.c $(LIB_PATH)/common.a
	$(ELF2FILES) ddr_4.arm d
	$(ELF2MEM) -m -f ddr_4.arm >> ddr_4.mem

#
# access 32 bit word, access pattern is out of order
# includes DMA transfer + Interrupt
#
ddr_5.mem: ddr_4.c dmaInttest.c aes.c sram_init4B.o
	$(CC) $(DDR_FLAGS2_B) -o ddr_5.arm ddr_4.c dmaInttest.c aes.c sram_init4B.o $(LIB_PATH)/common.a
	$(ELF2FILES) ddr_5.arm d
	$(ELF2MEM) -m -f ddr_5.arm >> ddr_5.mem

#
# Test lives in SRAM and assumes that SRAM is working.
# Do simple address and data bit line walk to test Napa and DDR space.
#
adwalk_test.arm: sram_init1B.o adwalk_test.c
	rm -f sram.hex
	$(CC) $(SRAM_CFLAGS2_B) -o adwalk_testB.arm sram_init1B.o adwalk_test.c $(LIB_PATH)/common.a
	$(OBJDUMP) -D adwalk_testB.arm > adwalk_testB.list
	$(LIST2FILES) adwalk_testB.list
	$(HEX2SRAM3) sram.hex adwalk_testB

clean clobber:
	rm -f *.elf *.list *.hex *.o *.mem

# eof
