From: Uwe Hermann Date: Sun, 6 May 2012 15:10:23 +0000 (+0200) Subject: fx2lafw: Add Braintechnology USB-LPS support. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.0~28 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=312f8b3466280bb789a597c9e6d2a1f7337c5e55;p=sigrok-firmware-fx2lafw.git fx2lafw: Add Braintechnology USB-LPS support. --- diff --git a/Makefile b/Makefile index af2301ce..4c9335f0 100644 --- 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 index 00000000..759c3096 --- /dev/null +++ b/hw/braintechnology-usb-lps/Makefile @@ -0,0 +1,27 @@ +## +## This file is part of the fx2lafw project. +## +## Copyright (C) 2012 Uwe Hermann +## +## 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 index 00000000..bae24066 --- /dev/null +++ b/hw/braintechnology-usb-lps/dscr.a51 @@ -0,0 +1,24 @@ +;; +;; This file is part of the fx2lafw project. +;; +;; Copyright (C) 2012 Uwe Hermann +;; +;; 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"