From: Ivan Fedorov Date: Tue, 31 Jul 2012 20:26:54 +0000 (+0400) Subject: Add basic support for USBee DX and clones X-Git-Tag: sigrok-firmware-fx2lafw-0.1.1~22 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9a556ec56e6b7b8a4c798142049b024ce40ded86;p=sigrok-firmware-fx2lafw.git Add basic support for USBee DX and clones --- diff --git a/Makefile b/Makefile index 1170cffe..9116277d 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ TARBALLBINDIR = sigrok-firmware-fx2lafw-bin-$(VERSION) all: build-all -build-all: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps +build-all: saleae-logic cwav-usbeeax cwav-usbeedx cwav-usbeesx cypress-fx2 braintechnology-usb-lps saleae-logic: @$(MAKE) -C hw/saleae-logic @@ -38,6 +38,9 @@ saleae-logic: cwav-usbeeax: @$(MAKE) -C hw/cwav-usbeeax +cwav-usbeedx: + @$(MAKE) -C hw/cwav-usbeedx + cwav-usbeesx: @$(MAKE) -C hw/cwav-usbeesx @@ -69,6 +72,7 @@ install: build-all @mkdir -p $(DESTDIR) @cp hw/saleae-logic/build/*.fw $(DESTDIR) @cp hw/cwav-usbeeax/build/*.fw $(DESTDIR) + @cp hw/cwav-usbeedx/build/*.fw $(DESTDIR) @cp hw/cwav-usbeesx/build/*.fw $(DESTDIR) @cp hw/cypress-fx2/build/*.fw $(DESTDIR) @cp hw/braintechnology-usb-lps/build/*.fw $(DESTDIR) @@ -76,10 +80,10 @@ install: build-all clean: @rm -rf hw/saleae-logic/build @rm -rf hw/cwav-usbeeax/build + @rm -rf hw/cwav-usbeedx/build @rm -rf hw/cwav-usbeesx/build @rm -rf hw/cypress-fx2/build @rm -rf hw/braintechnology-usb-lps/build @$(MAKE) -C fx2lib clean -.PHONY: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps - +.PHONY: saleae-logic cwav-usbeeax cwav-usbeedx cwav-usbeesx cypress-fx2 braintechnology-usb-lps diff --git a/hw/cwav-usbeedx/Makefile b/hw/cwav-usbeedx/Makefile new file mode 100644 index 00000000..7cc0e9b5 --- /dev/null +++ b/hw/cwav-usbeedx/Makefile @@ -0,0 +1,25 @@ +## +## This file is part of the fx2lafw project. +## +## Copyright (C) 2012 Ivan Fedorov +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## + +SOURCES = ../../fx2lafw.c ../../gpif-acquisition.c +A51_SOURCES = dscr.a51 +BASENAME = fx2lafw-cwav-usbeedx + +include ../../Makefile.include diff --git a/hw/cwav-usbeedx/dscr.a51 b/hw/cwav-usbeedx/dscr.a51 new file mode 100644 index 00000000..4326fc08 --- /dev/null +++ b/hw/cwav-usbeedx/dscr.a51 @@ -0,0 +1,24 @@ +;; +;; This file is part of the fx2lafw project. +;; +;; Copyright (C) 2012 Ivan Fedorov +;; +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program; if not, write to the Free Software +;; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +;; + +VID = 0xa908 ; Manufacturer ID (0x08a9) +PID = 0x1500 ; Product ID (0x0015) + +.include "../../../include/dscr.inc"