]> sigrok.org Git - libsigrok.git/log
libsigrok.git
10 years agozeroplus: Add voltage threshold support
Russ Dill [Tue, 3 Dec 2013 07:29:04 +0000 (23:29 -0800)]
zeroplus: Add voltage threshold support

It doesn't currently mesh well with libsigrok, but at least the support is there.

10 years agozeroplus: Major rework of sample buffer processing
Russ Dill [Mon, 30 Dec 2013 15:12:49 +0000 (07:12 -0800)]
zeroplus: Major rework of sample buffer processing

The sample buffer is a still a bit of a mystery, but this should help.
The variables in play:

triggerbar/ramsize_trigger - These two variables added together indicate
how many samples we want captured. ramsize_trigger - triggerbar
indicades how many samples must be captured. The ratio between the two
is determined by capture ratio.

memory_size - This indicates the number of samples in the circular
capture buffer. stop_address, now_address, and trigger_address are
pointers within the zeroplus that wrap based on this size.

now_address - The address that the zeroplus was about to write to when
it finished capturing, and now the address that will be read from when
reads are done from the capture buffer

stop_address - The address that the zeroplus last wrote to when it
completed capture.

trigger_address - The sample address for which the trigger occured.

status - This one is a bit tricky. Some testing has shown that if the
zeroplus has captured memory_size or less samples, the STATUS_READY bit
is set. For all captures generated with more samples than this,
STATUS_READY was cleared. However, boundary conditions are difficult to
test and values such as, memory_size + 1 have not been tested. We use
this to determine if the capture has wrapped through the sample buffer.

More testing is required, but this improves behavior in a number of
cases, specifically capturing sample amounts that are not a power of 2
of the sample buffer size. Before, random data was passed to libsigrok.

Signed-off-by: Russ Dill <redacted>
10 years agozeroplus: Add getters for memory configuration
Russ Dill [Mon, 30 Dec 2013 15:04:42 +0000 (07:04 -0800)]
zeroplus: Add getters for memory configuration

This is needed at capture readback time to determine how many samples to read
in.

Signed-off-by: Russ Dill <redacted>
10 years agozeroplus: Modify analyzer_read_start to just prep for bulk reads.
Russ Dill [Wed, 1 Jan 2014 00:25:51 +0000 (16:25 -0800)]
zeroplus: Modify analyzer_read_start to just prep for bulk reads.

Let the capture loop manage which samples are thrown out rather
than throwing out two here.

Signed-off-by: Russ Dill <redacted>
10 years agozeroplus: Always set DONT_CARE_TRIGGERBAR to 1
Russ Dill [Mon, 30 Dec 2013 14:59:55 +0000 (06:59 -0800)]
zeroplus: Always set DONT_CARE_TRIGGERBAR to 1

Experimentation with the windows driver has found no situation where
this is set to anything other than 1. The zerominus software also never
sets this to anything other than one. Revert the code change made in
0ab0cb942f.

Signed-off-by: Russ Dill <redacted>
10 years agozeroplus: Ignore capture ratio if there is no trigger
Russ Dill [Tue, 3 Dec 2013 06:00:30 +0000 (22:00 -0800)]
zeroplus: Ignore capture ratio if there is no trigger

If there is no trigger, don't try to capture anything before it. There
won't be any because we trigger immediately.

Signed-off-by: Russ Dill <redacted>
10 years agozeroplus: Add missing config_get for SR_CONF_CAPTURE_RATIO
Russ Dill [Mon, 30 Dec 2013 15:05:17 +0000 (07:05 -0800)]
zeroplus: Add missing config_get for SR_CONF_CAPTURE_RATIO

Without this, latest pulseview gets an assert and dies.

Signed-off-by: Russ Dill <redacted>
10 years agozeroplus: Support all 32 channels of 32 channel models
Russ Dill [Tue, 3 Dec 2013 05:25:10 +0000 (21:25 -0800)]
zeroplus: Support all 32 channels of 32 channel models

This will need some additional work when support is added for compression
modes since group D is disabled for RLE compression and C and D are
disabled for "double" compression.

Signed-off-by: Russ Dill <redacted>
10 years agogmc_mh_1x_2x: Fixed sign and AC/DC for current measurements with Metrahit <= 16.
Matthias Heidbrink [Thu, 2 Jan 2014 18:38:52 +0000 (19:38 +0100)]
gmc_mh_1x_2x: Fixed sign and AC/DC for current measurements with Metrahit <= 16.

10 years agoserial-dmm: Increase timeout when scanning for DMMs.
Uwe Hermann [Thu, 2 Jan 2014 13:25:06 +0000 (14:25 +0100)]
serial-dmm: Increase timeout when scanning for DMMs.

We have to wait a bit longer than 1s for a valid DMM packet to arrive,
since for various DMMs some modes (Hz/% for example) the packets will
arrive a lot less often than in other modes. If the waiting period is
too short detection of the DMM will fail.

10 years agoserial-dmm: Drop obsolete function prototypes.
Uwe Hermann [Thu, 2 Jan 2014 01:48:13 +0000 (02:48 +0100)]
serial-dmm: Drop obsolete function prototypes.

10 years agoAdd initial support for the V&A VA40B multimeter.
Uwe Hermann [Thu, 2 Jan 2014 00:34:21 +0000 (01:34 +0100)]
Add initial support for the V&A VA40B multimeter.

10 years agooutput/analog: Add missing space (consistency).
Uwe Hermann [Wed, 1 Jan 2014 16:38:05 +0000 (17:38 +0100)]
output/analog: Add missing space (consistency).

10 years agouni-t-dmm: Fix incorrect order which breaks UT61B/C.
Uwe Hermann [Wed, 1 Jan 2014 15:40:36 +0000 (16:40 +0100)]
uni-t-dmm: Fix incorrect order which breaks UT61B/C.

10 years agoAdd support for the UNI-T UT61B multimeter.
Uwe Hermann [Wed, 1 Jan 2014 14:25:39 +0000 (15:25 +0100)]
Add support for the UNI-T UT61B multimeter.

10 years agoteleinfo: Fix a compiler warning (clang).
Uwe Hermann [Tue, 31 Dec 2013 18:22:16 +0000 (19:22 +0100)]
teleinfo: Fix a compiler warning (clang).

  CC       libsigrok_hw_teleinfo_la-protocol.lo
protocol.c:62:41: warning: missing field 'num_samples' initializer
      [-Wmissing-field-initializers]
        struct sr_datafeed_analog analog = { 0 };
                                               ^

10 years agogmc-mh-1x-2x: Fix compiler warning (clang).
Uwe Hermann [Tue, 31 Dec 2013 18:21:04 +0000 (19:21 +0100)]
gmc-mh-1x-2x: Fix compiler warning (clang).

  CC       libsigrok_hw_gmc_mh_1x_2x_la-protocol.lo
protocol.c:133:32: warning: equality comparison with extraneous
parentheses
      [-Wparentheses-equality]
                        } else if ((devc->scale1000 == 2)) {
                                    ~~~~~~~~~~~~~~~~^~~~
protocol.c:133:32: note: remove extraneous parentheses around the
comparison to
      silence this warning
                        } else if ((devc->scale1000 == 2)) {
                                   ~                ^   ~

10 years agoes519xx.c: Fix a few compiler warnings (clang).
Uwe Hermann [Tue, 31 Dec 2013 18:20:51 +0000 (19:20 +0100)]
es519xx.c: Fix a few compiler warnings (clang).

  CC       libsigrok_hw_common_dmm_la-es519xx.lo
es519xx.c:632:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
es519xx.c:659:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
es519xx.c:688:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
es519xx.c:717:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
es519xx.c:746:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
es519xx.c:773:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
es519xx.c:800:33: warning: missing field 'is_voltage' initializer
      [-Wmissing-field-initializers]
        struct es519xx_info info = { 0 };
                                       ^
7 warnings generated.

10 years agofix endian neutral helper macro to return an integer type
Aurelien Jacobs [Mon, 30 Dec 2013 18:23:54 +0000 (19:23 +0100)]
fix endian neutral helper macro to return an integer type

10 years agools: Use serial source management wrappers.
Martin Ling [Mon, 30 Dec 2013 03:00:41 +0000 (04:00 +0100)]
ols: Use serial source management wrappers.

10 years agools: Mark all serial calls as blocking or nonblocking.
Martin Ling [Mon, 30 Dec 2013 02:54:55 +0000 (03:54 +0100)]
ols: Mark all serial calls as blocking or nonblocking.

10 years agoAdd blocking and nonblocking versions of serial_read and serial_write.
Martin Ling [Mon, 30 Dec 2013 02:52:17 +0000 (03:52 +0100)]
Add blocking and nonblocking versions of serial_read and serial_write.

10 years agoremove the es51922 protocol parser, superseded by the es519xx protocol parser
Aurelien Jacobs [Thu, 3 Oct 2013 21:35:33 +0000 (23:35 +0200)]
remove the es51922 protocol parser, superseded by the es519xx protocol parser

10 years agoswitch the UNI-T UT61E driver to the new es519xx parser
Aurelien Jacobs [Thu, 3 Oct 2013 21:30:18 +0000 (23:30 +0200)]
switch the UNI-T UT61E driver to the new es519xx parser

10 years agoes519xx: correctly handle the VAHZ function
Aurelien Jacobs [Sun, 29 Dec 2013 16:15:42 +0000 (17:15 +0100)]
es519xx: correctly handle the VAHZ function

This handles the frequency and duty cycle display in voltage or current mode.

10 years agoes519xx: apply the proper fixed factor in duty cycle mode
Aurelien Jacobs [Sun, 29 Dec 2013 16:14:37 +0000 (17:14 +0100)]
es519xx: apply the proper fixed factor in duty cycle mode

10 years agoes519xx: fix switching between frequency and duty cycle mode on 14 bytes chips
Aurelien Jacobs [Sun, 29 Dec 2013 16:07:42 +0000 (17:07 +0100)]
es519xx: fix switching between frequency and duty cycle mode on 14 bytes chips

Here is what the datasheet says about this:
  "If judge bit is 1, it means frequency mode. If judge bit is 0,
   it means duty cycle mode."
But this is plain wrong. Reality proves this is the other way around.

10 years agoes519xx: correctly handle the voltage factor in diode mode
Aurelien Jacobs [Sun, 29 Dec 2013 16:04:19 +0000 (17:04 +0100)]
es519xx: correctly handle the voltage factor in diode mode

10 years agoes519xx: fix continuity mode handling
Aurelien Jacobs [Sun, 29 Dec 2013 15:59:30 +0000 (16:59 +0100)]
es519xx: fix continuity mode handling

Depending on the chip, the limit value for the buzzer is between 25 and 35 Ω,
so this code set the limit for continuity to 25 Ω to be on the safe side.

10 years agoAdd support for the UNI-T UT61C multimeter.
Uwe Hermann [Sun, 29 Dec 2013 16:35:51 +0000 (17:35 +0100)]
Add support for the UNI-T UT61C multimeter.

10 years agofx2lafw: Fix incorrect unitsize when a trigger fires.
Uwe Hermann [Sun, 29 Dec 2013 13:17:10 +0000 (14:17 +0100)]
fx2lafw: Fix incorrect unitsize when a trigger fires.

The unitsize was always being set to 2, regardless of whether an fx2lafw
device with 8 or 16 probes was used.

This fixes bug #182.

10 years agofx2lafw: Minor cleanups.
Uwe Hermann [Sun, 29 Dec 2013 13:09:34 +0000 (14:09 +0100)]
fx2lafw: Minor cleanups.

10 years agorigol-ds: Correct usage of NUM_TIMEBASE and NUM_VDIV config keys.
Martin Ling [Sun, 29 Dec 2013 12:20:09 +0000 (13:20 +0100)]
rigol-ds: Correct usage of NUM_TIMEBASE and NUM_VDIV config keys.

10 years agoscpi: Strip trailing newline from *IDN response if present.
Martin Ling [Sun, 29 Dec 2013 12:13:04 +0000 (13:13 +0100)]
scpi: Strip trailing newline from *IDN response if present.

10 years agovictor-dmm: Fix MIN/MAX always being reported.
Uwe Hermann [Sun, 29 Dec 2013 11:33:10 +0000 (12:33 +0100)]
victor-dmm: Fix MIN/MAX always being reported.

This fixes bug #228.

10 years agodemo: Analog probe support.
Bert Vermeulen [Fri, 27 Dec 2013 22:52:23 +0000 (23:52 +0100)]
demo: Analog probe support.

10 years agodemo: User-configurable number of probes.
Bert Vermeulen [Tue, 24 Dec 2013 10:27:40 +0000 (11:27 +0100)]
demo: User-configurable number of probes.

The sigrok and incremental patterns repeat every 8 probes, shifted by
one probe.

10 years agoAdd config keys for setting the number of analog probes.
Bert Vermeulen [Sun, 22 Dec 2013 23:01:59 +0000 (00:01 +0100)]
Add config keys for setting the number of analog probes.

This is primarily of use in the demo driver, but this patch also
takes in the logic probe setting config key used only by the
session driver so far.

10 years agoSkip analog probes in logic-only output formats.
Bert Vermeulen [Sun, 29 Dec 2013 09:57:38 +0000 (10:57 +0100)]
Skip analog probes in logic-only output formats.

10 years agoRevise SCPI read API to allow backend-independent data handling.
Martin Ling [Sun, 29 Dec 2013 01:36:49 +0000 (02:36 +0100)]
Revise SCPI read API to allow backend-independent data handling.

10 years agoAdd udev rule for Agilent DSO1000 series.
Martin Ling [Sun, 29 Dec 2013 00:48:40 +0000 (01:48 +0100)]
Add udev rule for Agilent DSO1000 series.

10 years agorigol-ds: Support the rest of the DSO1000 range.
Martin Ling [Sun, 29 Dec 2013 00:39:49 +0000 (01:39 +0100)]
rigol-ds: Support the rest of the DSO1000 range.

10 years agorigol-ds: Support 4 analog channels.
Martin Ling [Sun, 29 Dec 2013 00:34:58 +0000 (01:34 +0100)]
rigol-ds: Support 4 analog channels.

10 years agorigol-ds: Use correct live waveform size for Agilent DSO1000 series.
Martin Ling [Sat, 28 Dec 2013 23:35:09 +0000 (00:35 +0100)]
rigol-ds: Use correct live waveform size for Agilent DSO1000 series.

10 years agorigol-ds: Add support for Agilent DSO1014A.
Martin Ling [Sat, 28 Dec 2013 23:27:11 +0000 (00:27 +0100)]
rigol-ds: Add support for Agilent DSO1014A.

10 years agoscpi: Log IDN? result.
Martin Ling [Sat, 28 Dec 2013 23:26:54 +0000 (00:26 +0100)]
scpi: Log IDN? result.

10 years agoAdd config keys for upcoming RF demodulator drivers.
Bert Vermeulen [Sat, 28 Dec 2013 20:00:46 +0000 (21:00 +0100)]
Add config keys for upcoming RF demodulator drivers.

Langford driver will be first.

10 years agorigol-ds: Fix rigol_ds_channel_start() for digital channels.
Martin Ling [Fri, 27 Dec 2013 22:28:17 +0000 (23:28 +0100)]
rigol-ds: Fix rigol_ds_channel_start() for digital channels.

10 years agorigol-ds: Use correct analog frame size for VS5000 series.
Martin Ling [Fri, 27 Dec 2013 22:24:40 +0000 (23:24 +0100)]
rigol-ds: Use correct analog frame size for VS5000 series.

10 years agorigol-ds: Use set_cfg wrapper for capture setup commands.
Martin Ling [Fri, 27 Dec 2013 22:19:55 +0000 (23:19 +0100)]
rigol-ds: Use set_cfg wrapper for capture setup commands.

10 years agorigol-ds: Select channels before issuing RUN command.
Martin Ling [Fri, 27 Dec 2013 22:13:21 +0000 (23:13 +0100)]
rigol-ds: Select channels before issuing RUN command.

10 years agorigol-ds: Unify partial read handling.
Martin Ling [Fri, 27 Dec 2013 18:50:48 +0000 (19:50 +0100)]
rigol-ds: Unify partial read handling.

10 years agorigol-ds: Unify code for counting expected incoming bytes.
Martin Ling [Fri, 27 Dec 2013 17:56:59 +0000 (18:56 +0100)]
rigol-ds: Unify code for counting expected incoming bytes.

10 years agorigol-ds: Use rigol_ds_channel_start() function for legacy protocol too.
Martin Ling [Fri, 27 Dec 2013 16:03:13 +0000 (17:03 +0100)]
rigol-ds: Use rigol_ds_channel_start() function for legacy protocol too.

10 years agorigol-ds: Rename and document some confusingly named variables.
Martin Ling [Fri, 27 Dec 2013 14:59:25 +0000 (15:59 +0100)]
rigol-ds: Rename and document some confusingly named variables.

10 years agoasix-sigma: fix incorrect pointer cast (non-aligned memory and endiannes issue)
Aurelien Jacobs [Fri, 27 Dec 2013 16:29:03 +0000 (17:29 +0100)]
asix-sigma: fix incorrect pointer cast (non-aligned memory and endiannes issue)

This fixes the following warning:

asix-sigma.c: In function 'receive_data':
asix-sigma.c:1064:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    devc->state.lastts = *(uint16_t *) buf - 1;
    ^

10 years agoappa-55ii: Don't use _t suffix for a typedef.
Uwe Hermann [Fri, 27 Dec 2013 16:27:52 +0000 (17:27 +0100)]
appa-55ii: Don't use _t suffix for a typedef.

Names ending with _t are reserved for POSIX.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html
(last line in table 2)

10 years agohameg-hmo: Support DC LINE coupling.
Bert Vermeulen [Fri, 27 Dec 2013 15:00:25 +0000 (16:00 +0100)]
hameg-hmo: Support DC LINE coupling.

10 years agoDoxygen fixes: Hide private stuff, document some structs.
Uwe Hermann [Fri, 27 Dec 2013 15:18:28 +0000 (16:18 +0100)]
Doxygen fixes: Hide private stuff, document some structs.

10 years agoDoxyfile/Doxyfile_internal: Ignore doxy/* when creating docs.
Uwe Hermann [Fri, 27 Dec 2013 14:50:27 +0000 (15:50 +0100)]
Doxyfile/Doxyfile_internal: Ignore doxy/* when creating docs.

10 years agoDoxyfile/Doxyfile_internal: Update to same 1.8.5 template, sync them.
Uwe Hermann [Fri, 27 Dec 2013 14:36:22 +0000 (15:36 +0100)]
Doxyfile/Doxyfile_internal: Update to same 1.8.5 template, sync them.

This also makes the diff from Doxyfile to Doxyfile_internal more readable.

Also, put public API docs into doxy/html-api/, private stuff into
doxy/html-internal/.

10 years agolog prefixes: Cosmetics, consistency fixes, typo fixes.
Uwe Hermann [Fri, 27 Dec 2013 12:05:54 +0000 (13:05 +0100)]
log prefixes: Cosmetics, consistency fixes, typo fixes.

10 years agoCentralise duplicated logging helper defines.
Martin Ling [Mon, 23 Dec 2013 03:38:35 +0000 (03:38 +0000)]
Centralise duplicated logging helper defines.

10 years agoteleinfo: Minor cleanups.
Uwe Hermann [Thu, 26 Dec 2013 23:35:42 +0000 (00:35 +0100)]
teleinfo: Minor cleanups.

10 years agoappa-55ii: Minor cosmetics, whitespace fixes.
Uwe Hermann [Thu, 26 Dec 2013 23:22:19 +0000 (00:22 +0100)]
appa-55ii: Minor cosmetics, whitespace fixes.

10 years agogmc-mh-1x-2x: Use standard API callback names for now.
Uwe Hermann [Thu, 26 Dec 2013 12:15:46 +0000 (13:15 +0100)]
gmc-mh-1x-2x: Use standard API callback names for now.

If multiple functions need to be differentiated later, we can bring
back more specific names.

10 years agogmc-mh-1x-2x: Don't put driver-specific things in sr/SR namespace.
Uwe Hermann [Thu, 26 Dec 2013 12:02:02 +0000 (13:02 +0100)]
gmc-mh-1x-2x: Don't put driver-specific things in sr/SR namespace.

10 years agogmc-mh-1x-2x: Use 'di' variable to match other drivers.
Uwe Hermann [Thu, 26 Dec 2013 11:55:54 +0000 (12:55 +0100)]
gmc-mh-1x-2x: Use 'di' variable to match other drivers.

10 years agogmc-mh-1x-2x: Fix two compiler warnings.
Uwe Hermann [Thu, 26 Dec 2013 11:52:29 +0000 (12:52 +0100)]
gmc-mh-1x-2x: Fix two compiler warnings.

10 years agogmc-mh-1x-2x: Cosmetics, whitespace, cleanups.
Uwe Hermann [Thu, 26 Dec 2013 11:51:18 +0000 (12:51 +0100)]
gmc-mh-1x-2x: Cosmetics, whitespace, cleanups.

10 years agoappa-55ii: Coding style fixes.
Bert Vermeulen [Mon, 23 Dec 2013 00:53:30 +0000 (01:53 +0100)]
appa-55ii: Coding style fixes.

10 years agoappa-55ii: driver implementation with Live and Memory data source support
Aurelien Jacobs [Wed, 11 Dec 2013 23:22:32 +0000 (00:22 +0100)]
appa-55ii: driver implementation with Live and Memory data source support

10 years agoappa-55ii: Initial driver skeleton.
Aurelien Jacobs [Sun, 1 Dec 2013 00:13:44 +0000 (01:13 +0100)]
appa-55ii: Initial driver skeleton.

10 years agoendian neutral helper macro to read 16/32 bits integer from unaligned memory
Aurelien Jacobs [Wed, 11 Dec 2013 23:20:47 +0000 (00:20 +0100)]
endian neutral helper macro to read 16/32 bits integer from unaligned memory

10 years agoadd support for AVG mqflag
Aurelien Jacobs [Wed, 11 Dec 2013 23:18:00 +0000 (00:18 +0100)]
add support for AVG mqflag

10 years agodemo: Code cleanup.
Bert Vermeulen [Sun, 22 Dec 2013 17:46:45 +0000 (18:46 +0100)]
demo: Code cleanup.

10 years agoWindows usb: don't try to resume thread if shut down in callback.
Martin Ling [Sun, 22 Dec 2013 17:38:24 +0000 (17:38 +0000)]
Windows usb: don't try to resume thread if shut down in callback.

10 years agousb: Enforce that there can only be one USB event source for now.
Martin Ling [Sun, 22 Dec 2013 17:27:13 +0000 (17:27 +0000)]
usb: Enforce that there can only be one USB event source for now.

10 years agoWindows usb: Unlock mutex when shutting down wait thread.
Martin Ling [Sun, 22 Dec 2013 17:10:57 +0000 (17:10 +0000)]
Windows usb: Unlock mutex when shutting down wait thread.

10 years agoWinsock2.h must be included before anything that includes Winsock.h.
Martin Ling [Sun, 22 Dec 2013 14:50:11 +0000 (14:50 +0000)]
Winsock2.h must be included before anything that includes Winsock.h.

10 years agoImplement usb_source_add and usb_source_remove for Windows.
Martin Ling [Sun, 22 Dec 2013 07:16:56 +0000 (07:16 +0000)]
Implement usb_source_add and usb_source_remove for Windows.

10 years agoUse common usb_source_add and usb_source_remove functions.
Martin Ling [Sat, 21 Dec 2013 23:03:24 +0000 (23:03 +0000)]
Use common usb_source_add and usb_source_remove functions.

10 years agoUse new libserialport event set API to make GPollFDs for serial sources.
Martin Ling [Fri, 20 Dec 2013 17:45:46 +0000 (17:45 +0000)]
Use new libserialport event set API to make GPollFDs for serial sources.

10 years agoBump minimum libusb version to 1.0.16
Bert Vermeulen [Thu, 19 Dec 2013 09:45:36 +0000 (10:45 +0100)]
Bump minimum libusb version to 1.0.16

This gets us the libusb version checking mechanism itself, hopefully
making this sort of thing easier in future.

Also hotplug, device tree traversal, and lots of fixes.

10 years agobbcgm-m2110: Minor cosmetics.
Uwe Hermann [Wed, 18 Dec 2013 23:31:26 +0000 (00:31 +0100)]
bbcgm-m2110: Minor cosmetics.

10 years agoserial-dmm: Add BBC Goerz Metrawatt M2110 DMM driver.
Matthias Heidbrink [Wed, 18 Dec 2013 22:37:42 +0000 (23:37 +0100)]
serial-dmm: Add BBC Goerz Metrawatt M2110 DMM driver.

10 years agoserial-dmm: Commented struct dmm_info.
Matthias Heidbrink [Wed, 18 Dec 2013 22:33:45 +0000 (23:33 +0100)]
serial-dmm: Commented struct dmm_info.

10 years agohameg-hmo: Move the declaration of the driver info out of protocol.h
poljar (Damir Jelić) [Mon, 9 Dec 2013 13:35:29 +0000 (14:35 +0100)]
hameg-hmo: Move the declaration of the driver info out of protocol.h

This fixes duplicate symbol error on Mac OS X.

BugLink: http://sigrok.org/bugzilla/show_bug.cgi?id=216
10 years agoserial.c: Show both error code and error message.
Uwe Hermann [Tue, 17 Dec 2013 16:46:24 +0000 (17:46 +0100)]
serial.c: Show both error code and error message.

This is helpful in many cases, e.g. when trying to identify which of the
16000 system error codes from

  http://msdn.microsoft.com/en-us/library/ms681381%28VS.85%29.aspx

has been encountered (which is not trivial if you only have an,
e.g. German, string message alone).

10 years agoDoxygen: Consistently use @ notation everywhere.
Uwe Hermann [Mon, 16 Dec 2013 09:24:32 +0000 (10:24 +0100)]
Doxygen: Consistently use @ notation everywhere.

10 years agoDrop superfluous \n in some debug messages.
Uwe Hermann [Tue, 10 Dec 2013 17:18:58 +0000 (18:18 +0100)]
Drop superfluous \n in some debug messages.

10 years agoFix a few #include guard names.
Uwe Hermann [Tue, 10 Dec 2013 16:39:31 +0000 (17:39 +0100)]
Fix a few #include guard names.

10 years agopython: Use OrderedDict for input formats.
Martin Ling [Tue, 17 Dec 2013 16:25:13 +0000 (16:25 +0000)]
python: Use OrderedDict for input formats.

10 years agopython: Split up Device class and add InputFileDevice class.
Martin Ling [Tue, 17 Dec 2013 16:10:08 +0000 (16:10 +0000)]
python: Split up Device class and add InputFileDevice class.

10 years agopython: Give config keys an auto lowercase name if they have none defined.
Martin Ling [Tue, 17 Dec 2013 13:11:43 +0000 (13:11 +0000)]
python: Give config keys an auto lowercase name if they have none defined.

10 years agopython: Add ConfigKey.info and ConfigKey.<id> shortcuts.
Martin Ling [Tue, 17 Dec 2013 13:01:35 +0000 (13:01 +0000)]
python: Add ConfigKey.info and ConfigKey.<id> shortcuts.

10 years agopython: ConfigInfo: return None from constructor if not available.
Martin Ling [Tue, 17 Dec 2013 13:01:11 +0000 (13:01 +0000)]
python: ConfigInfo: return None from constructor if not available.

10 years agopython: Add ConfigInfo and DataType classes.
Martin Ling [Tue, 17 Dec 2013 12:47:49 +0000 (12:47 +0000)]
python: Add ConfigInfo and DataType classes.

10 years agopython: Finish output format support.
Martin Ling [Tue, 17 Dec 2013 00:42:33 +0000 (00:42 +0000)]
python: Finish output format support.

10 years agopython: Finish input format support.
Martin Ling [Mon, 16 Dec 2013 02:11:42 +0000 (02:11 +0000)]
python: Finish input format support.