]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
fx2lafw: Add Braintechnology USB-LPS support.
authorUwe Hermann <redacted>
Sun, 6 May 2012 15:10:23 +0000 (17:10 +0200)
committerUwe Hermann <redacted>
Sun, 6 May 2012 15:10:23 +0000 (17:10 +0200)
Makefile
hw/braintechnology-usb-lps/Makefile [new file with mode: 0644]
hw/braintechnology-usb-lps/dscr.a51 [new file with mode: 0644]

index af2301cec7c28052f2c481b816551000f915c202..4c9335f08c1909cc640d5ab7a14c73143e3a9447 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-all: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2
+all: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps
 
 saleae-logic:
        $(MAKE) -C hw/saleae-logic
@@ -32,11 +32,15 @@ cwav-usbeesx:
 cypress-fx2:
        $(MAKE) -C hw/cypress-fx2
 
+braintechnology-usb-lps:
+       $(MAKE) -C hw/braintechnology-usb-lps
+
 clean:
        rm -rf hw/saleae-logic/build
        rm -rf hw/cwav-usbeeax/build
        rm -rf hw/cwav-usbeesx/build
        rm -rf hw/cypress-fx2/build
+       rm -rf hw/braintechnology-usb-lps/build
 
-.PHONY: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2
+.PHONY: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps
 
diff --git a/hw/braintechnology-usb-lps/Makefile b/hw/braintechnology-usb-lps/Makefile
new file mode 100644 (file)
index 0000000..759c309
--- /dev/null
@@ -0,0 +1,27 @@
+##
+## This file is part of the fx2lafw project.
+##
+## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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-braintechnology-usb-lps
+
+include ../../Makefile.include
diff --git a/hw/braintechnology-usb-lps/dscr.a51 b/hw/braintechnology-usb-lps/dscr.a51
new file mode 100644 (file)
index 0000000..bae2406
--- /dev/null
@@ -0,0 +1,24 @@
+;;
+;; This file is part of the fx2lafw project.
+;;
+;; Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
+;;
+;; 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 = 0xd016   ; Manufacturer ID (0x16d0)
+PID = 0x9804   ; Product ID (0x0498)
+
+.include "../../../include/dscr.inc"