aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/b200/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/usrp3/top/b200/Makefile')
-rw-r--r--fpga/usrp3/top/b200/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/fpga/usrp3/top/b200/Makefile b/fpga/usrp3/top/b200/Makefile
new file mode 100644
index 000000000..ad5e5cf7a
--- /dev/null
+++ b/fpga/usrp3/top/b200/Makefile
@@ -0,0 +1,20 @@
+#
+# Copyright 2012-2013 Ettus Research LLC
+#
+
+all: B200 B210
+ find -name "*.twr" | xargs grep constraint | grep met
+ mkdir -p build
+ cp build-B200/b200.bin build/usrp_b200_fpga.bin
+ cp build-B210/b200.bin build/usrp_b210_fpga.bin
+
+clean:
+ rm -rf build*
+
+B200:
+ make -f Makefile.b200.inc bin NAME=B200 DEVICE=XC6SLX75
+
+B210:
+ make -f Makefile.b200.inc bin NAME=B210 DEVICE=XC6SLX150 EXTRA_DEFS="B200_CAN_HAZ_R1=1"
+
+.PHONY: all clean