]> sigrok.org Git - sigrok-firmware-fx2lafw.git/log
sigrok-firmware-fx2lafw.git
7 years agodscr_hantek_6022be.inc: Change vendor string to "sigrok".
Uwe Hermann [Wed, 10 Aug 2016 06:19:20 +0000 (08:19 +0200)]
dscr_hantek_6022be.inc: Change vendor string to "sigrok".

7 years agodscr_hantek_6022be.inc: Cosmetic and consistency changes.
Uwe Hermann [Wed, 10 Aug 2016 06:07:32 +0000 (08:07 +0200)]
dscr_hantek_6022be.inc: Cosmetic and consistency changes.

This makes the file a lot more readable and also easier to compare
to the other dscr.inc files.

Also, fix some typos (or copy-paste errors) in some comments.

7 years agodscr.inc: Shorten representation of two strings.
Uwe Hermann [Wed, 10 Aug 2016 05:40:43 +0000 (07:40 +0200)]
dscr.inc: Shorten representation of two strings.

7 years agohantek-6022be/sainsmart-dds120: Hook up correct per-device VID/PID.
Uwe Hermann [Thu, 4 Aug 2016 15:24:00 +0000 (17:24 +0200)]
hantek-6022be/sainsmart-dds120: Hook up correct per-device VID/PID.

7 years agoDeduplicate hantek-6022be/sainsmart-dds120's dscr.inc.
Uwe Hermann [Thu, 4 Aug 2016 15:18:14 +0000 (17:18 +0200)]
Deduplicate hantek-6022be/sainsmart-dds120's dscr.inc.

7 years agohantek-6022be/sainsmart-dds120: Use the same USB product string.
Uwe Hermann [Thu, 4 Aug 2016 15:16:48 +0000 (17:16 +0200)]
hantek-6022be/sainsmart-dds120: Use the same USB product string.

7 years agoREADME: Mention the Sainsmart DDS120 firmware.
Uwe Hermann [Tue, 12 Jul 2016 22:10:21 +0000 (00:10 +0200)]
README: Mention the Sainsmart DDS120 firmware.

7 years agoAdd CWAV USBee ZX firmware support.
Uwe Hermann [Tue, 12 Jul 2016 21:48:13 +0000 (23:48 +0200)]
Add CWAV USBee ZX firmware support.

This fixes bug #764.

7 years agoSilence warnings
Benjamin Larsson [Wed, 18 May 2016 22:36:25 +0000 (00:36 +0200)]
Silence warnings

The following warnings are fixed by this:

 hantek_6022be.c:424: warning 158: overflow in implicit constant conversion
 sainsmart_dds120.c:359: warning 158: overflow in implicit constant conversion
 sainsmart_dds120.c:363: warning 158: overflow in implicit constant conversion
 sainsmart_dds120.c:366: warning 158: overflow in implicit constant conversion
 sainsmart_dds120.c:370: warning 158: overflow in implicit constant conversion
 sainsmart_dds120.c:494: warning 158: overflow in implicit constant conversion

7 years agoAdd a few more code comments.
Uwe Hermann [Wed, 18 May 2016 22:17:16 +0000 (00:17 +0200)]
Add a few more code comments.

7 years agofx2lafw: clock CTL1 the same as CTL2
Benjamin Larsson [Wed, 18 May 2016 20:50:06 +0000 (22:50 +0200)]
fx2lafw: clock CTL1 the same as CTL2

The LHT00SU1 has it's clock pins swapped compared to other hardware.
By duplicating the CTL2 pin both the socket and the adc will
have the same clock frequency.

8 years agoUse 1D50:608E for open source Sainsmart DDS120 firmware
Markus Siegert [Sun, 10 Apr 2016 20:03:13 +0000 (22:03 +0200)]
Use 1D50:608E for open source Sainsmart DDS120 firmware

8 years agoSupport changing calibration pulse frequency
Benjamin Larsson [Sat, 23 Apr 2016 16:22:19 +0000 (18:22 +0200)]
Support changing calibration pulse frequency

8 years agoAdd more sample rates
Benjamin Larsson [Sat, 23 Apr 2016 16:19:12 +0000 (18:19 +0200)]
Add more sample rates

8 years agoAdd support for setting Sainsmart AC/DC coupling
Benjamin Larsson [Sun, 3 Apr 2016 15:39:07 +0000 (17:39 +0200)]
Add support for setting Sainsmart AC/DC coupling

8 years agoInitial Sainsmart DDS120 firmware
Benjamin Larsson [Fri, 18 Mar 2016 21:12:56 +0000 (22:12 +0100)]
Initial Sainsmart DDS120 firmware

8 years agoAdd CMD_START_FLAGS_CLK_CTL2 command flag
Benjamin Larsson [Wed, 27 Apr 2016 22:58:26 +0000 (00:58 +0200)]
Add CMD_START_FLAGS_CLK_CTL2 command flag

This command will generate a suitable clock on pin CTL2 for
devices with an analog input.

8 years agoEnable more control over the GPIF state machine
Benjamin Larsson [Wed, 27 Apr 2016 22:49:10 +0000 (00:49 +0200)]
Enable more control over the GPIF state machine

8 years agohw/hantek-6022be/dscr.a51: License header cosmetics.
Uwe Hermann [Thu, 10 Mar 2016 22:31:18 +0000 (23:31 +0100)]
hw/hantek-6022be/dscr.a51: License header cosmetics.

8 years agohantek_6022be.c: Simplify handle_vendorcommand().
Uwe Hermann [Thu, 10 Mar 2016 22:24:16 +0000 (23:24 +0100)]
hantek_6022be.c: Simplify handle_vendorcommand().

8 years agohantek_6022be.c: Minor cosmetics.
Uwe Hermann [Thu, 10 Mar 2016 22:19:48 +0000 (23:19 +0100)]
hantek_6022be.c: Minor cosmetics.

8 years agohantek_6022be.c: Make a few variables and functions static.
Uwe Hermann [Thu, 10 Mar 2016 22:15:05 +0000 (23:15 +0100)]
hantek_6022be.c: Make a few variables and functions static.

8 years agohantek_6022be.c: Move main() for consistency.
Uwe Hermann [Thu, 10 Mar 2016 22:12:24 +0000 (23:12 +0100)]
hantek_6022be.c: Move main() for consistency.

8 years agohantek_6022be.c: Adapt to fx2lafw coding style, minor simplifications.
Uwe Hermann [Thu, 10 Mar 2016 22:10:06 +0000 (23:10 +0100)]
hantek_6022be.c: Adapt to fx2lafw coding style, minor simplifications.

8 years agohantek_6022be.c: Drop unneeded debug code, random cruft.
Uwe Hermann [Thu, 10 Mar 2016 21:43:41 +0000 (22:43 +0100)]
hantek_6022be.c: Drop unneeded debug code, random cruft.

8 years agoREADME: Update to mention the Hantek 6022BE firmware.
Uwe Hermann [Thu, 10 Mar 2016 21:38:52 +0000 (22:38 +0100)]
README: Update to mention the Hantek 6022BE firmware.

8 years agohantek_6022be.c: Fix build error.
Uwe Hermann [Thu, 10 Mar 2016 21:19:14 +0000 (22:19 +0100)]
hantek_6022be.c: Fix build error.

Drop handle_get_descriptor(), since it's already provided by
fx2lib/lib/setupdat.c, in order to fix the following linker error:

  Multiple definition of _handle_get_descriptor
  Makefile:925: recipe for target 'hw/hantek-6022be/hantek-6022be.ihx' failed

8 years agoMakefile.am: Hook up building of hantek-6022be.fw.
Uwe Hermann [Thu, 10 Mar 2016 20:46:29 +0000 (21:46 +0100)]
Makefile.am: Hook up building of hantek-6022be.fw.

The FX2 firmware for the Hantek 6022BE USB-based oscilloscope uses most
of the existing fx2lafw build infrastructure and our existing fx2lib setup,
but requires slightly different sdcc linker settings due to different code
and XRAM sizes and locations, etc.

8 years agoAdd FX2 firmware for the Hantek 6022BE USB scope.
Uwe Hermann [Thu, 10 Mar 2016 20:02:12 +0000 (21:02 +0100)]
Add FX2 firmware for the Hantek 6022BE USB scope.

This firmware was originally created by Jochen Hoenicke in 05/2015
for the Hantek6022API github project by Robert Cope. Full credit for
the implementation of the firmware goes to Jochen Hoenicke, thanks!

Github project:

  https://github.com/rpcope1/Hantek6022API

We're incorporating the firmware into the sigrok-firmware-fx2lafw
repo/tarball for convenience of sigrok users. E.g. so that they can
easily get it with the other fx2lafw firmware files from distro
packages, the build scripts in sigrok-util automatically build/install
it, the sigrok Windows installers automatically ship it, the sigrok
Android APKs automatically ship it, etc. etc.

The files we're integrating into fx2lafw from Hantek6022API are taken from
the PyHT6022/HantekFirmware/custom directory of that repo, using the state
as of 03/2016 (the files were last modified in 05/2015, though).

The git hash of the last relevant commit there was:

  0498e2ab239aabb1084c19e1e24faf56764b217e

Files integrated into fx2lafw:

 - hw/hantek-6022be/dscr.a51: Copied unmodified.

 - hantek_6022be.c: This file is created by appending the
   contents of the original device.c and fw.c together without
   other modifications.

The license of both files is LGPL 2.1 (or later).

8 years agoREADME: Update prebuilt firmware download location.
Uwe Hermann [Thu, 10 Mar 2016 20:01:29 +0000 (21:01 +0100)]
README: Update prebuilt firmware download location.

8 years agoconfigure.ac: Bump package version to 0.1.3. sigrok-firmware-fx2lafw-0.1.3
Uwe Hermann [Thu, 26 Nov 2015 22:41:51 +0000 (23:41 +0100)]
configure.ac: Bump package version to 0.1.3.

8 years agoNEWS: Add list of user-visible changes so far.
Uwe Hermann [Thu, 26 Nov 2015 22:40:46 +0000 (23:40 +0100)]
NEWS: Add list of user-visible changes so far.

8 years agoREADME: Any sdcc 3.x version works fine.
Uwe Hermann [Thu, 26 Nov 2015 22:38:10 +0000 (23:38 +0100)]
README: Any sdcc 3.x version works fine.

E.g. 3.5 also works fine as of today.

8 years agobuild: Distribute autogen.sh
Daniel Elstner [Tue, 10 Nov 2015 12:28:40 +0000 (13:28 +0100)]
build: Distribute autogen.sh

8 years agobuild: Customize silent rule prefixes for sdas/sdcc
Daniel Elstner [Mon, 9 Nov 2015 13:57:33 +0000 (14:57 +0100)]
build: Customize silent rule prefixes for sdas/sdcc

Be fancy and print custom SDAS and SDCC prefixes in silent-rules
mode.

8 years agobuild: Allow dist-bin from non-git sources
Daniel Elstner [Mon, 9 Nov 2015 13:27:12 +0000 (14:27 +0100)]
build: Allow dist-bin from non-git sources

Do not require the source directory to be a git checkout when
creating the tarball of binary firmware files.

8 years agobuild: Simplify dist-changelog target
Daniel Elstner [Mon, 9 Nov 2015 10:51:26 +0000 (11:51 +0100)]
build: Simplify dist-changelog target

When not building from git, it is not necessary to manually copy
the ChangeLog file from the source directory to the distribution,
since Automake already does that for us.

8 years agobuild: Check SDCC version during configure
Daniel Elstner [Mon, 9 Nov 2015 10:10:48 +0000 (11:10 +0100)]
build: Check SDCC version during configure

Require at least SDCC version 2.9.0.

This fixes bug #696.

8 years agoUpdate git ignore list
Daniel Elstner [Sat, 7 Nov 2015 18:14:06 +0000 (19:14 +0100)]
Update git ignore list

8 years agobuild: Switch to non-recursive make
Daniel Elstner [Sat, 7 Nov 2015 18:02:43 +0000 (19:02 +0100)]
build: Switch to non-recursive make

8 years agoAdd fx2lafw firmware for FX2 devices with sigrok VID/PID.
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.

 - 1D50:608C: fx2lafw-sigrok-fx2-8ch.fw

 - 1D50:608D: fx2lafw-sigrok-fx2-16ch.fw

9 years agoautogen.sh: Drop obsolete MinGW/MSYS items.
Uwe Hermann [Tue, 7 Apr 2015 00:42:11 +0000 (02:42 +0200)]
autogen.sh: Drop obsolete MinGW/MSYS items.

For Windows builds (which require MinGW-w64) we currently support:

 - cross-builds using MXE (mxe.cc) and possibly other cross-compile setups

 - native builds using MSYS2 (sf.net/projects/msys2/)

Neither of those require explicitly specifying ACLOCAL_DIR.

9 years agoDrop references to obsolete sigrok-commits mailing list.
Uwe Hermann [Tue, 22 Jul 2014 22:06:59 +0000 (00:06 +0200)]
Drop references to obsolete sigrok-commits mailing list.

10 years agoconfigure.ac: Bump package version to 0.1.2. sigrok-firmware-fx2lafw-0.1.x sigrok-firmware-fx2lafw-0.1.2
Uwe Hermann [Tue, 6 May 2014 21:13:35 +0000 (23:13 +0200)]
configure.ac: Bump package version to 0.1.2.

10 years agoNEWS: Add list of user-visible changes so far.
Uwe Hermann [Tue, 6 May 2014 18:38:21 +0000 (20:38 +0200)]
NEWS: Add list of user-visible changes so far.

10 years agoIncrease FX2LAFW_VERSION_MINOR to 1.
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).

10 years agoBugfix: Tristate pins after acquisition.
Uwe Hermann [Thu, 27 Jun 2013 13:12:04 +0000 (15:12 +0200)]
Bugfix: Tristate pins after acquisition.

Fix a typo which lead to the data pins not being tri-stated after an
aquisition (when the GPIF is idle) but rather being driven.

Thanks Ignacio García Pérez and Clemens Novak for reporting and testing.

11 years agoREADME: Add "Copyright and license" section.
Uwe Hermann [Fri, 26 Apr 2013 11:50:58 +0000 (13:50 +0200)]
README: Add "Copyright and license" section.

11 years agoGPL headers: Use correct project name.
Uwe Hermann [Tue, 23 Apr 2013 20:35:32 +0000 (22:35 +0200)]
GPL headers: Use correct project name.

11 years agoPrepare for the 0.1.1 release. sigrok-firmware-fx2lafw-0.1.1
Uwe Hermann [Tue, 16 Apr 2013 21:50:46 +0000 (23:50 +0200)]
Prepare for the 0.1.1 release.

11 years agoCOPYING.LESSER: Replace LGPLv3 with LGPLv2.1.
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.

11 years agoDocument the download for pre-built firmware files.
Uwe Hermann [Tue, 16 Apr 2013 22:06:20 +0000 (00:06 +0200)]
Document the download for pre-built firmware files.

11 years agoREADME: sdcc 3.2.x works fine, document that.
Uwe Hermann [Tue, 16 Apr 2013 21:21:32 +0000 (23:21 +0200)]
README: sdcc 3.2.x works fine, document that.

11 years agoFix parallel build (e.g. via "-j 2").
Uwe Hermann [Sun, 17 Mar 2013 13:53:25 +0000 (14:53 +0100)]
Fix parallel build (e.g. via "-j 2").

This fixes bug #68.

11 years agoNEWS: Fix typo.
Uwe Hermann [Sun, 17 Mar 2013 13:47:25 +0000 (14:47 +0100)]
NEWS: Fix typo.

11 years agoconfigure.ac: Fix typo in 'sdcc-sdcclib'.
Uwe Hermann [Sun, 17 Mar 2013 13:42:19 +0000 (14:42 +0100)]
configure.ac: Fix typo in 'sdcc-sdcclib'.

11 years agoAbort configure if the required tools are not found.
Uwe Hermann [Sun, 17 Mar 2013 13:40:33 +0000 (14:40 +0100)]
Abort configure if the required tools are not found.

11 years agoREADME: Refer to INSTALL and new Building wiki page.
Uwe Hermann [Sun, 17 Mar 2013 13:04:00 +0000 (14:04 +0100)]
README: Refer to INSTALL and new Building wiki page.

11 years agoSupport sdcc tool names as used on Fedora.
Uwe Hermann [Thu, 7 Mar 2013 10:32:30 +0000 (11:32 +0100)]
Support sdcc tool names as used on Fedora.

Fedora (e.g. Fedora 18) names the sdcc tools like this:

 sdcc-sdcc, sdcc-sdcclib, sdcc-makebin, etc.

11 years agoFixup DESTDIR usage.
Uwe Hermann [Sun, 3 Mar 2013 18:57:18 +0000 (19:57 +0100)]
Fixup DESTDIR usage.

Drop superfluous slash, otherwise the install directory would be e.g.

 /foo//usr/local/share/sigrok-firmware

or

 //usr/local/share/sigrok-firmware

depending on whether DESTDIR was set via "DESTDIR=/foo", or not.

11 years agobuildsystem: Obey DESTDIR when running make install
Alexandru Gagniuc [Fri, 22 Feb 2013 17:38:49 +0000 (11:38 -0600)]
buildsystem: Obey DESTDIR when running make install

For more details, see:
http://www.gnu.org/prep/standards/html_node/DESTDIR.html
http://www.gnu.org/software/automake/manual/html_node/Extending.html

This closes bug #67.

11 years agoSupport older Cypress FX2 (not FX2LP) too.
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.

This closes bug #3.

11 years agoNEWS: Add user-visible changes so far.
Uwe Hermann [Sat, 26 Jan 2013 12:37:59 +0000 (13:37 +0100)]
NEWS: Add user-visible changes so far.

11 years agoREADME: Add all build dependencies.
Uwe Hermann [Sat, 26 Jan 2013 12:36:36 +0000 (13:36 +0100)]
README: Add all build dependencies.

11 years ago(Re-)add the convenience target 'distbin'.
Uwe Hermann [Sat, 26 Jan 2013 12:15:47 +0000 (13:15 +0100)]
(Re-)add the convenience target 'distbin'.

This creates a sigrok-firmware-fx2lafw-bin-x.y.z.tar.gz tarball containing
just the *.fw files, so that users don't have to build them manually.

The normal 'make dist' produces a source code tarball, as usual.

11 years agoUse a standard autotools setup.
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.

11 years agoUse makebin if objcopy is not available.
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.

Thanks 'Harble' on IRC for the report.

11 years agoFix #include guard names.
Uwe Hermann [Tue, 16 Oct 2012 13:28:41 +0000 (15:28 +0200)]
Fix #include guard names.

11 years agoAdd a HACKING file.
Uwe Hermann [Tue, 16 Oct 2012 13:24:29 +0000 (15:24 +0200)]
Add a HACKING file.

11 years agoMakefile: Update repo URL.
Uwe Hermann [Wed, 10 Oct 2012 22:53:54 +0000 (00:53 +0200)]
Makefile: Update repo URL.

11 years agoREADME: Add status, update URL, add more info.
Uwe Hermann [Wed, 10 Oct 2012 21:58:33 +0000 (23:58 +0200)]
README: Add status, update URL, add more info.

11 years agoAdd basic support for USBee DX and clones
Ivan Fedorov [Tue, 31 Jul 2012 20:26:54 +0000 (00:26 +0400)]
Add basic support for USBee DX and clones

11 years agoAdd .gitignore
Ivan Fedorov [Tue, 31 Jul 2012 20:24:16 +0000 (00:24 +0400)]
Add .gitignore

11 years agoMakefile: Add a 'distbin' target. sigrok-firmware-fx2lafw-0.1.0
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.

11 years agoNEWS: Add today's date as release date for 0.1.0.
Uwe Hermann [Tue, 24 Jul 2012 14:36:30 +0000 (16:36 +0200)]
NEWS: Add today's date as release date for 0.1.0.

11 years agoMakefile.include: Fix build on MinGW/Windows.
Uwe Hermann [Tue, 24 Jul 2012 14:35:06 +0000 (16:35 +0200)]
Makefile.include: Fix build on MinGW/Windows.

The trailing slash causes issues on MinGW/Windows, apparently.

11 years agoUpdate install instructions.
Uwe Hermann [Mon, 23 Jul 2012 13:40:25 +0000 (15:40 +0200)]
Update install instructions.

11 years agoDrop fx2lib files we don't really need.
Uwe Hermann [Mon, 23 Jul 2012 13:20:05 +0000 (15:20 +0200)]
Drop fx2lib files we don't really need.

Document the origins and license of the fx2lib code more precisely.

11 years agoDon't ship the .git/ directory in the tarball.
Uwe Hermann [Mon, 23 Jul 2012 12:55:04 +0000 (14:55 +0200)]
Don't ship the .git/ directory in the tarball.

11 years agoFix 'make clean'.
Uwe Hermann [Sun, 22 Jul 2012 16:29:48 +0000 (18:29 +0200)]
Fix 'make clean'.

Things like "rm -f *.{asm,ihx,lnk,lst,map,mem,rel,rst,sym,adb,cdb,lib}"
aren't really portable or work everywhere.

Also, invoke fx2lib's clean upon an fx2lafw clean.

11 years agoMakefiles: Add missing "2>/dev/null" in some places.
Uwe Hermann [Sun, 22 Jul 2012 16:22:15 +0000 (18:22 +0200)]
Makefiles: Add missing "2>/dev/null" in some places.

11 years agos/make/$(MAKE)/ to fix build on FreeBSD.
Uwe Hermann [Sun, 22 Jul 2012 16:19:15 +0000 (18:19 +0200)]
s/make/$(MAKE)/ to fix build on FreeBSD.

On FreeBSD (and possibly) elsewhere you'd invoke the build via "gmake",
thus hardcoded "make" invokations in our Makefiles will break the build.

Use $(MAKE) everywhere, which always does the right thing.

11 years agoAdd initial NEWS file.
Uwe Hermann [Wed, 18 Jul 2012 17:27:18 +0000 (19:27 +0200)]
Add initial NEWS file.

11 years agoAdd 'dist' target which creates a tarball.
Uwe Hermann [Wed, 18 Jul 2012 17:15:13 +0000 (19:15 +0200)]
Add 'dist' target which creates a tarball.

11 years agoMakefile: Add a 'ChangeLog' target.
Uwe Hermann [Wed, 18 Jul 2012 17:05:42 +0000 (19:05 +0200)]
Makefile: Add a 'ChangeLog' target.

11 years agoMakefile: Add an 'install' target.
Uwe Hermann [Wed, 18 Jul 2012 17:02:29 +0000 (19:02 +0200)]
Makefile: Add an 'install' target.

This installs all *.fw files into /usr/local/share/sigrok-firmware,
which can be overridden via DESTDIR, like this:

 make install DESTDIR=/tmp/foo

11 years agoRemove obsolete and unused DEBUG code.
Uwe Hermann [Wed, 18 Jul 2012 16:52:59 +0000 (18:52 +0200)]
Remove obsolete and unused DEBUG code.

11 years agoCosmetics, update docs.
Uwe Hermann [Tue, 17 Jul 2012 15:47:56 +0000 (17:47 +0200)]
Cosmetics, update docs.

11 years agoAdd missing #include guards.
Uwe Hermann [Wed, 18 Jul 2012 10:49:43 +0000 (12:49 +0200)]
Add missing #include guards.

Without them there will be issues sooner or later, and the build _is_
broken already on MinGW without them.

11 years agoFix a left-over __data in our fx2lib copy.
Uwe Hermann [Wed, 18 Jul 2012 10:34:32 +0000 (12:34 +0200)]
Fix a left-over __data in our fx2lib copy.

11 years agoUpdate fx2lafw code to work with recent sdcc.
Uwe Hermann [Wed, 18 Jul 2012 10:24:26 +0000 (12:24 +0200)]
Update fx2lafw code to work with recent sdcc.

11 years agoSupport old and new sdcc/sdas8051/asx8051 versions.
Uwe Hermann [Wed, 18 Jul 2012 10:16:21 +0000 (12:16 +0200)]
Support old and new sdcc/sdas8051/asx8051 versions.

Tested on Debian with old and new sdcc (2.9.0 and 3.1.0).

Testers for Fedora and other distros are welcome!

11 years agoImport fx2lib into fx2lafw directly.
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.

11 years agoREADME: Update usage instructions.
Uwe Hermann [Mon, 25 Jun 2012 23:47:27 +0000 (01:47 +0200)]
README: Update usage instructions.

12 years agoCosmetics.
Uwe Hermann [Thu, 10 May 2012 21:55:33 +0000 (23:55 +0200)]
Cosmetics.

12 years agoSupport wide sampling
Joel Holdsworth [Mon, 7 May 2012 14:58:04 +0000 (15:58 +0100)]
Support wide sampling

12 years agoAdded support for 100kHz and 50kHz sampling
Joel Holdsworth [Mon, 7 May 2012 11:42:45 +0000 (12:42 +0100)]
Added support for 100kHz and 50kHz sampling

12 years agoRemoved a magic number
Joel Holdsworth [Fri, 20 Apr 2012 18:56:11 +0000 (19:56 +0100)]
Removed a magic number

12 years agoMade the DP state the DATA sample state
Joel Holdsworth [Thu, 19 Apr 2012 20:02:50 +0000 (21:02 +0100)]
Made the DP state the DATA sample state

12 years agoMoved GPIF state generator code into helper functions
Joel Holdsworth [Thu, 19 Apr 2012 20:00:16 +0000 (21:00 +0100)]
Moved GPIF state generator code into helper functions