This is an automated email from Gerrit. Oleksij Rempel ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4581
-- gerrit commit f0827ead07417201d9e98e3f9f81b5382009a7a5 Author: Oleksij Rempel <[email protected]> Date: Thu Jun 28 08:07:39 2018 +0200 interface: altera-usb-blaster2: use global vars for configuration Change-Id: I2027b27ec27f83686770665ca7610365213b4745 Signed-off-by: Oleksij Rempel <[email protected]> diff --git a/tcl/interface/altera-usb-blaster2.cfg b/tcl/interface/altera-usb-blaster2.cfg index c35be19..9d87fce 100644 --- a/tcl/interface/altera-usb-blaster2.cfg +++ b/tcl/interface/altera-usb-blaster2.cfg @@ -2,7 +2,22 @@ # Altera USB-Blaster II # +if { ![info exists USB_BLASTER2_FIRMWARE_PATH] } { + error "Please set USB_BLASTER2_FIRMWARE_PATH" +} + interface usb_blaster usb_blaster_vid_pid 0x09fb 0x6010 0x09fb 0x6810 usb_blaster_lowlevel_driver ublast2 -usb_blaster_firmware /path/to/quartus/blaster_6810.hex + +usb_blaster_firmware $USB_BLASTER2_FIRMWARE_PATH + +if { [info exists USB_BLASTER2_DEVICE_DESC] } { + echo "Set device descriptor to $USB_BLASTER2_DEVICE_DESC" + usb_blaster_device_desc $USB_BLASTER2_DEVICE_DESC +} + +if { [info exists USB_BLASTER2_LOCATION] } { + echo "Set device location to $USB_BLASTER2_LOCATION" + usb_blaster_location $USB_BLASTER2_LOCATION +} -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
