- added testbench for de-nano

- added workaround for DCache_inv_all() for de-nano

git-svn-id: http://moon:8086/svn/mips@124 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-22 20:15:11 +00:00
parent 7a38b812b2
commit e255319c57
3 changed files with 12 additions and 2 deletions
+9
View File
@@ -93,6 +93,15 @@ $(BUILD_DIR)/testbench.elf: $(BUILD_DIR) testbench.c
cat $@.srec | $(PACKHEX) > $@.pack
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/testbench_denano.elf: $(BUILD_DIR) testbench_denano.c
$(CC) $(CFLAGS) -O3 -o $@ -DHZ=1000 -DNOSIGNAL -DBATCHMODE -DNOMAIN -Os -g testbench_denano.c paranoia.c delay_mips.c bogomips.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis
$(OBJCOPY) $@ -O binary $@.bin
$(OBJCOPY) -O srec $@ $@.srec
$(FLASHGEN) $@.bin $(ENDIAN_FLAGS)
cat $@.srec | $(PACKHEX) > $@.pack
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/test_irq.elf: $(BUILD_DIR) test_irq.c
$(CC) $(CFLAGS) -o $@ test_irq.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis