Uwe Hermann [Wed, 21 Oct 2015 20:23:44 +0000 (22:23 +0200)]
Add fx2lafw firmware for FX2 devices with sigrok VID/PID.
The two new firmware images fx2lafw-sigrok-fx2-{8,16}ch.fw can be used
on Cypress FX2 devices where one of the two official sigrok fx2lafw
USB VID/PID pairs is hardcoded in an external EEPROM.
The sigrok project owns USB product IDs allocated via the Openmoko project:
http://wiki.openmoko.org/wiki/USB_Product_IDs
The following two VID/PID pairs are available for devices that use
a Cypress FX2(LP) chip *directly* as 8-channel or 16-channel logic analyzer,
and use the respective USB-based protocol. They are *not* meant for
other devices which just happen to also have an FX2 (e.g. in addition to
an FPGA) and/or devices that use a different USB-based protocol.
Uwe Hermann [Tue, 6 May 2014 18:41:19 +0000 (20:41 +0200)]
Increase FX2LAFW_VERSION_MINOR to 1.
There have been changes since the last release, but they have been
compatible ones that don't require any host-side (libsigrok) changes,
thus only increase FX2LAFW_VERSION_MINOR (but not FX2LAFW_VERSION_MAJOR).
Uwe Hermann [Tue, 16 Apr 2013 22:09:41 +0000 (00:09 +0200)]
COPYING.LESSER: Replace LGPLv3 with LGPLv2.1.
The file incorrectly contained a copy of the LGPL, version 3. It should
have contained version 2.1 though, since that's the license of the
fx2lib files it applies to.
Uwe Hermann [Thu, 21 Feb 2013 14:46:36 +0000 (15:46 +0100)]
Support older Cypress FX2 (not FX2LP) too.
The Cypress FX2 chip is an older version of the FX2LP chip with a few
differences that might be relevant for fx2lafw, the major one being
that is has less internal SRAM.
We adapt the linking step to work for both FX2 and FX2LP, thus
keeping only one set of *.fw files for both chip versions.
Changes to the fx2lafw driver in libsigrok are not required.
Some logic analyzer devices such as older USBee SX versions or more recent
devices which use a "fake" FX2LP (which is actually an FX2) need this.
Uwe Hermann [Wed, 9 Jan 2013 18:34:06 +0000 (19:34 +0100)]
Use a standard autotools setup.
fx2lafw now uses a standard autoconf/automake based build and
configuration system like most other sigrok subprojects (instead of two
sets of custom, not very portable Makefiles).
$ ./configure && make && make install
It now supports all the usual things one expects, for example:
- The --prefix et. al. options to specify installation paths.
- Standard set of 'make' targets, e.g. 'install', 'uninstall',
'dist', etc.
- In-tree builds as well as out-of-tree builds.
- Works pretty much everywhere portably, regardless of 'make'
implementation (GNU Make or BSD make or...) and regardless of shell
(bash, sh, dash, ksh, csh, ...).
- The build output matches the usual 'silent rules' output of other
(sigrok / autotools) projects. Using 'make V=1' one can get the full
build output.
Uwe Hermann [Thu, 22 Nov 2012 22:16:41 +0000 (23:16 +0100)]
Use makebin if objcopy is not available.
Some systems might not have objcopy (e.g. on Mac OS it might not be
available per default). We use objcopy if it is found, otherwise we try
to use the 'makebin' utility (shipped with sdcc) instead.
Uwe Hermann [Tue, 24 Jul 2012 19:04:50 +0000 (21:04 +0200)]
Makefile: Add a 'distbin' target.
This creates a sigrok-firmware-fx2lafw-bin-x.y.z.tar.gz tarball which
only contains pre-built *.fw files (and some docs), but no source code
of fx2lafw.
This tarball can be provided as a convenience download for users who do
not want to mess with building their own firmware files from source.
Uwe Hermann [Wed, 18 Jul 2012 09:31:24 +0000 (11:31 +0200)]
Import fx2lib into fx2lafw directly.
We want a local fx2lib copy in fx2lafw for various reasons, e.g. to make
life simpler for all distros (none of which ship any fx2lib packages,
and neither would it make sense to do so really), and as we'll want/need
local changes to fix build issues and possibly other stuff anyway.
This copy of fx2lib is not the main upstream version from
git://github.com/mulicheng/fx2lib.git
which has been last updated in 2010, but rather from
git://github.com/ubixum/fx2lib.git
The only difference is that the latter contains one patch which fixes
some issues with more recent sdcc versions (interrupt vs. __interrupt,
_asm vs. __asm, xdata vs. __xdata__, and many others).
The imported fx2lib copy is "416c104cbd" from Feb 12, 2012.