X-Git-Url: http://rtime.felk.cvut.cz/gitweb/fpga/lx-cpu1/lx-rocon.git/blobdiff_plain/af327a69605210cfe781f13e522dd8c122cffd43..0098cca847a776f6e7f6db6f44f82a9922e05e53:/Makefile diff --git a/Makefile b/Makefile index eb0b907..0fd85df 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,11 @@ install-tumbl: $(BUILDDIR)/usb_sendhex $(BUILDDIR)/imem.bin $(BUILDDIR)/dmem.bin usb_sendhex -w -d $(USB_APP_VID_PID) -t 3 -s 0x00001000 -f binary $(BUILDDIR)/dmem.bin usb_sendhex -d $(USB_APP_VID_PID) -c 0xF100 -a 0x0000 +.PHONY: install-firmware +install-firmware: $(BUILDDIR)/usb_sendhex $(BUILDDIR)/fw_lxmaster.bin + usb_sendhex -w -d $(USB_APP_VID_PID) -t 1 -s 0xA1C00000 -f binary $(BUILDDIR)/fw_lxmaster.bin + usb_sendhex -w -d $(USB_APP_VID_PID) -c 0xF020 -a `stat -L -c %s $(BUILDDIR)/fw_lxmaster.bin` + .PHONY: host host: make -C host V=1 @@ -86,6 +91,7 @@ hw: cp -a hw/_build/lx-rocon.pkg $(BUILDDIR)/ cp -a hw/_build/imem.bin $(BUILDDIR)/ cp -a hw/_build/dmem.bin $(BUILDDIR)/ + cp -a firmware/lxmaster.bin $(BUILDDIR)/fw_lxmaster.bin .PHONY: clean clean: