From 442bf25dcfdfa327a2210cc1553465c8e50fb074 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 12 Oct 2013 13:39:52 +0100 Subject: remove on chip memory --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 57bb799..2933d51 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ SRCS += $(shell find GPU -type f -print ) BSP_DIR=bsp -SOPC_FILE=my_sys.sopcinfo +QSYS=pong_mcu +SOPC_FILE=${QSYS}.sopcinfo BSP_TYPE=hal NIOS2_BSP_ARGS="" CPU_NAME= @@ -68,6 +69,9 @@ sof.flash: ${SOF} elf.flash: ${ELF} sof.flash tools/wrap elf2flash --input=${ELF} --output=$@ --epcs --after=sof.flash --verbose +qsys: + tools/wrap qsys-edit ${QSYS}.qsys --project-dir=${PWD} --system-info=DEVICE_FAMILY="Cyclone II" --system-info=DEVICE=EP2C8Q208C8 --system-info=DEVICE_SPEEDGRADE=8 --host-controller + ${BSP_DIR}/system.h:bsp.stamp flash: load_sof.stamp sof.flash elf.flash ${BSP_DIR}/system.h @@ -79,6 +83,7 @@ clean: /bin/rm -rf ${BSP_DIR} db incremental_db src/obj /bin/rm -f ${SOPC_FILE} src/Makefile elf.flash sof.flash *.stamp ${SOF} ${ELF} *.rpt *.html *.summary *.pin *.jdi *.qws /bin/rm -f src/${PROJ}.objdump src/${PROJ}.map + /bin/rm -f sopc_builder_log.txt -- cgit v1.2.3