]> Joshua Wise's Git repositories - firearm.git/blobdiff - tests/Makefile
Add chip enable correctness for CellularRAM.
[firearm.git] / tests / Makefile
index 0fc42d1a55fd173199d57cd09057d7a0e385d20e..774222d5b3e5289e7d3e2c2a7d9a7178c7f857a9 100644 (file)
@@ -1,4 +1,6 @@
-all: costas.hex
+CFLAGS=-mno-thumb-interwork -march=armv4
+
+all: costas.hex testbench.pad.hex testbench.hex
 
 %.o: %.c
        arm-elf-gcc $(CFLAGS) -c -o $@ $<
@@ -12,5 +14,8 @@ all: costas.hex
 %.bin: %.elf
        arm-elf-objcopy $< -O binary $@
 
+%.pad.bin: %.bin
+       dd if=$< of=$@ bs=16384 conv=sync
+
 %.hex: %.bin
        xxd -ps -c 4 $< | sed -e 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2\1/' > $@
This page took 0.02637 seconds and 4 git commands to generate.