From a76977af62010a392c16010c367185e61e856ffe Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 30 Oct 2019 20:04:56 +0100 Subject: mv to docs --- docs/j1demo/firmware/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/j1demo/firmware/Makefile (limited to 'docs/j1demo/firmware/Makefile') diff --git a/docs/j1demo/firmware/Makefile b/docs/j1demo/firmware/Makefile new file mode 100644 index 0000000..b28bfe6 --- /dev/null +++ b/docs/j1demo/firmware/Makefile @@ -0,0 +1,26 @@ +j1.mem j1.bin: *.fs Makefile + @gforth -e 'include main.fs bye' + +doc: *.fs Makefile + gforth -e 'include ../../docforth/docforth.fs s" document.fs" document bye' + mkdir -p html + mv *.html html + +# PRGDIR=$(HOME)/wge100_firmware/trunk/synth/programming_files/latest +PRGDIR=../hardware/synth/programming_files/latest + +wge100_ip_camera.bit: $(PRGDIR)/wge100.bit j1.mem $(PRGDIR)/wge100_bd.bmm + (. /opt/Xilinx/11.1/ISE/settings32.sh ; data2mem -bm $(PRGDIR)/wge100_bd.bmm -bd j1.mem tag jram -bt $(PRGDIR)/wge100.bit -o b wge100_ip_camera.bit ) + +wge100_ip_camera.mcs: wge100_ip_camera.bit + (. /opt/Xilinx/11.1/ISE/settings32.sh ; linux32 promgen -w -p mcs -c FF -o wge100_ip_camera.mcs -u 0 wge100_ip_camera.bit >/dev/null ) + +defines_tcpip.fs defines_tcpip2.fs: genoffsets.py defines*py + python genoffsets.py + +download: j1.mem + ./send + sudo python listenterminal.py + +bundle: j1.bin wge100_ip_camera.mcs + cp j1.bin wge100_ip_camera.mcs tools/*.py $(HOME)/bundle -- cgit v1.2.3