Commit Graph

2486 Commits

Author SHA1 Message Date
Uwe Hermann 873e0c1295 gmc-mh-1x-2x: Don't put driver-specific things in sr/SR namespace. 2013-12-27 12:27:49 +01:00
Uwe Hermann 3a6095d005 gmc-mh-1x-2x: Use 'di' variable to match other drivers. 2013-12-27 12:27:49 +01:00
Uwe Hermann ec29a878e0 gmc-mh-1x-2x: Fix two compiler warnings. 2013-12-27 12:27:49 +01:00
Uwe Hermann fc348b770a gmc-mh-1x-2x: Cosmetics, whitespace, cleanups. 2013-12-27 12:27:49 +01:00
Bert Vermeulen 7574e58c1a appa-55ii: Coding style fixes. 2013-12-23 01:53:30 +01:00
Aurelien Jacobs 81a9ab725f appa-55ii: driver implementation with Live and Memory data source support 2013-12-23 01:21:52 +01:00
Aurelien Jacobs 5e7a8e57d4 appa-55ii: Initial driver skeleton. 2013-12-23 01:21:51 +01:00
Aurelien Jacobs e28ef28a3c endian neutral helper macro to read 16/32 bits integer from unaligned memory 2013-12-23 01:21:51 +01:00
Aurelien Jacobs f5027ca481 add support for AVG mqflag 2013-12-23 01:21:51 +01:00
Bert Vermeulen 61c39f54bb demo: Code cleanup. 2013-12-22 23:47:50 +01:00
Martin Ling 34ea7f9695 Windows usb: don't try to resume thread if shut down in callback. 2013-12-22 17:38:24 +00:00
Martin Ling 6640324f7f usb: Enforce that there can only be one USB event source for now. 2013-12-22 17:27:13 +00:00
Martin Ling b5328e1dfa Windows usb: Unlock mutex when shutting down wait thread. 2013-12-22 17:10:57 +00:00
Martin Ling 589edd9b81 Winsock2.h must be included before anything that includes Winsock.h. 2013-12-22 14:59:43 +00:00
Martin Ling 5321ac6b52 Implement usb_source_add and usb_source_remove for Windows. 2013-12-22 07:16:56 +00:00
Martin Ling 6c60facc19 Use common usb_source_add and usb_source_remove functions. 2013-12-21 23:09:23 +00:00
Martin Ling ba1949f583 Use new libserialport event set API to make GPollFDs for serial sources. 2013-12-21 19:38:45 +00:00
Bert Vermeulen 17e9317b24 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.
2013-12-19 10:45:36 +01:00
Uwe Hermann 95ecc76546 bbcgm-m2110: Minor cosmetics. 2013-12-19 00:40:31 +01:00
Matthias Heidbrink 825da8b20f serial-dmm: Add BBC Goerz Metrawatt M2110 DMM driver. 2013-12-19 00:40:31 +01:00
Matthias Heidbrink 5d03743096 serial-dmm: Commented struct dmm_info. 2013-12-19 00:40:31 +01:00
poljar (Damir Jelić) e9a6213976 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
2013-12-18 22:17:30 +01:00
Uwe Hermann cb7b165b3d 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).
2013-12-17 17:46:24 +01:00
Uwe Hermann 2eb84c9835 Doxygen: Consistently use @ notation everywhere. 2013-12-17 17:45:18 +01:00
Uwe Hermann 9d122af8f0 Drop superfluous \n in some debug messages. 2013-12-17 17:45:18 +01:00
Uwe Hermann a582788653 Fix a few #include guard names. 2013-12-17 17:45:18 +01:00
Martin Ling 865730188c python: Use OrderedDict for input formats. 2013-12-17 16:29:41 +00:00
Martin Ling 772b21d425 python: Split up Device class and add InputFileDevice class. 2013-12-17 16:10:08 +00:00
Martin Ling 01e9ff61c2 python: Give config keys an auto lowercase name if they have none defined. 2013-12-17 13:11:43 +00:00
Martin Ling cad0acef5d python: Add ConfigKey.info and ConfigKey.<id> shortcuts. 2013-12-17 13:01:35 +00:00
Martin Ling 14e8eb3353 python: ConfigInfo: return None from constructor if not available. 2013-12-17 13:01:11 +00:00
Martin Ling 8593c8e30d python: Add ConfigInfo and DataType classes. 2013-12-17 12:47:49 +00:00
Martin Ling 409d85b3ac python: Finish output format support. 2013-12-17 02:00:09 +01:00
Martin Ling f0e764de7b python: Finish input format support. 2013-12-17 02:00:09 +01:00
Martin Ling a64198c8ea python: Add initial support for input and output formats. 2013-12-17 02:00:09 +01:00
Martin Ling 945e23a57d python: fix setting device/probe group configuration. 2013-12-17 02:00:09 +01:00
Martin Ling 4e5c64e358 python: whitespace fix. 2013-12-17 02:00:09 +01:00
Bert Vermeulen 5f9c4c8a34 Detect non-existent file before libzip does. 2013-12-11 10:49:01 +01:00
Bert Vermeulen 1e7134dc8c std: Don't build serial helpers without libserialport present. 2013-12-11 00:33:11 +01:00
Bert Vermeulen 98582bf53f Make API docs more consistent, avoid tabs to line up comments. 2013-12-09 22:49:12 +01:00
Matthias Heidbrink 5483bb8349 doxygen: Created Doxyfile_internal to extract „everything“ that is possible into a separate directory doxy/html-internal. 2013-12-09 15:17:17 +01:00
Matthias Heidbrink 04cb915716 Improved doxygen docs. 2013-12-09 15:17:17 +01:00
Matthias Heidbrink 86fa0ef594 doxygen: Updated Doxyfile to doxygen 1.8.5. 2013-12-09 15:16:29 +01:00
Bert Vermeulen 854434de0b Use std_serial_dev_open(). 2013-12-07 21:54:08 +01:00
Bert Vermeulen 23dc666166 std: Add std_serial_dev_open(). 2013-12-07 21:26:50 +01:00
Bert Vermeulen d43b090816 std: Standardize function name.
std_dev_acquisition_stop_serial() is now std_serial_dev_acquisition_stop().
2013-12-07 21:23:39 +01:00
Martin Ling 37fa80b4be Disable OLS driver on Windows. 2013-12-07 19:43:47 +00:00
Martin Ling b6eb8252e5 Remove now-unused fd field from struct sr_serial_dev_inst. 2013-12-07 19:43:47 +00:00
Martin Ling bf72f64999 ols: Get fd from sp_get_port_handle() rather than serial struct. 2013-12-07 19:43:47 +00:00
Martin Ling 64ecf7ee52 Eliminate internal usage of serial->fd in serial.c. 2013-12-07 19:43:47 +00:00