summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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