Commit Graph

2886 Commits

Author SHA1 Message Date
Jens Steinhauser c6036f755a C++ bindings: Make enums.py work with newer versions of pygccxml. 2014-07-22 21:06:16 +02:00
Bert Vermeulen 155b680da4 Reorganize project tree. 2014-07-22 18:19:29 +02:00
Bert Vermeulen 43cd463728 build: Portability fixes.
This also defers reporting on enabled drivers until it's really decided.
2014-07-22 18:17:34 +02:00
Bert Vermeulen c26162ffe0 python: Fix build dependency.
This also makes it more portable, notably to non-bash shells.
2014-07-22 04:31:54 +02:00
Kumar Abhishek ad9dbc1cdb beaglelogic: Implementation with soft triggers
Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>
2014-07-22 01:49:01 +02:00
Kumar Abhishek bb99379761 beaglelogic: Initial driver skeleton. 2014-07-22 01:47:02 +02:00
Bert Vermeulen 64668fae19 Remove unnecessary level of indirection for source manipulation. 2014-07-21 18:37:19 +02:00
Bert Vermeulen 3337e9a1c9 Get rid of global session. 2014-07-21 18:37:14 +02:00
Bert Vermeulen 102f123966 Add struct sr_session parameter to all session source backends. 2014-07-21 18:34:11 +02:00
Bert Vermeulen 85b69c2b64 scpi: sr_scpi_scan_resource() never returns more than one sdi.
No need to always make it a one-entry GSList.
2014-07-21 06:20:56 +02:00
Bert Vermeulen 8eb10b625e python: Silence irrelevant build warnings. 2014-07-20 22:37:32 +02:00
Uwe Hermann dfa4cd0e57 make check: Update to new session API. 2014-07-20 12:09:10 +02:00
Uwe Hermann 6592c36995 Fix 'make check' invocation wrt new libsigrok.h location. 2014-07-20 12:03:29 +02:00
Bert Vermeulen 9ae3eb121f python: Don't install as a zip file. 2014-07-19 22:25:39 +02:00
Bert Vermeulen f2a189f0a7 build: Silence language bindings building. 2014-07-19 22:25:11 +02:00
Bert Vermeulen 6223feeb8e configure: Add --enable-bindings switch. 2014-07-19 20:20:47 +02:00
Bert Vermeulen 6884b52bde bindings: Filter out various pygccxml noise. 2014-07-19 19:48:01 +02:00
Martin Ling 580ed4005b Additional build system fixes for C++/Python/Java bindings. 2014-07-19 18:06:52 +02:00
Martin Ling d1785122c7 Assorted build system fixes for C++/Python/Java bindings. 2014-07-19 17:25:37 +02:00
Martin Ling 815a6b95f4 Pass configured prefix to python setup.py install step. 2014-07-19 16:44:05 +02:00
Martin Ling d615a3962a Suppress some SWIG warnings that don't matter. 2014-07-19 16:28:42 +02:00
Martin Ling abc7146d03 Fix building Python bindings with pygobject >= 3.7.91. 2014-07-19 16:12:34 +02:00
Bert Vermeulen 762aee1e91 configure: Fix java --enable check. 2014-07-18 21:40:27 +01:00
Bert Vermeulen bcacb8633e configure: Add C++ bindings dependency checks. 2014-07-18 21:40:20 +01:00
Bert Vermeulen f8158d5655 configure: Deal with missing macro a bit better.
The AX_CXX_COMPILE_STDCXX_11 macro is found in the autoconf-archive
package. If this is not installed, invoking the macro spits out an
error message that makes it look like a syntax error. This wraps it
in a check.
2014-07-18 21:40:14 +01:00
Martin Ling f0f1d90d9c Remove obsolete low-level language bindings. 2014-07-18 21:34:57 +01:00
Martin Ling 9fcf4d0b5b Add Java bindings. 2014-07-18 21:34:57 +01:00
Martin Ling f774095496 Reimplement high-level Python bindings on top of SWIG/C++ bindings. 2014-07-18 20:47:10 +01:00
Martin Ling 608b848d8b Add new generic SWIG bindings based on C++ classes. 2014-07-18 20:47:10 +01:00
Martin Ling c23c8659b8 Add C++ bindings. 2014-07-18 20:47:10 +01:00
Martin Ling 00ebcbf48a Change prototype of sr_trigger_new to take const char *. 2014-07-17 18:39:17 +01:00
Martin Ling 5a7e62211c SWIG: Rename libsigrok.i to lowlevel.i. 2014-07-17 18:30:49 +01:00
Martin Ling fb336bf9e5 SWIG: Remove obsolete lowlevel wrapper methods for sr_output_format. 2014-07-17 18:30:49 +01:00
Martin Ling 63d0fb7528 Move public headers into include/libsigrok.
This is needed so that the C++ bindings, the header for which
references "libsigrok/libsigrok.h", can have a valid include
directory passed to build them before the headers are installed.
2014-07-17 18:30:49 +01:00
Martin Ling 0812c40e36 Revise session API to allow for multiple sessions in future. 2014-07-17 18:30:48 +01:00
Matthias Heidbrink 2c1a012ed2 gmc-mh-1x-2x-rs232: Support for Metrahit 16T and similiar models. 2014-07-17 12:40:02 +02:00
Bert Vermeulen 5842817e45 swig: Use new output API. 2014-07-14 19:22:58 +02:00
Bert Vermeulen 5d8c55f9ee Move conditional driver cruft to separate source file. 2014-07-11 16:47:06 +02:00
Bert Vermeulen d4b3874828 autoconf: Use DRIVER macro to declare drivers. 2014-07-10 20:44:32 +02:00
Bert Vermeulen b5bbc3f1b0 Minor code cleanup. 2014-07-09 20:56:53 +02:00
Bert Vermeulen 3747d8a21e testo: Remove unused dependency on libserialport. 2014-07-09 20:56:45 +02:00
Bert Vermeulen e7fef37bf8 saleae-logic16: Drop unused variable. 2014-07-08 15:20:52 +02:00
Bert Vermeulen 88b1d4e573 testo: Detach kernel driver as needed, and code optimization.
Thanks to Aurelien Jacobs for the CRC check code improvement.
2014-07-07 17:37:36 +02:00
Bert Vermeulen 8789564070 testo: More robust probing and packet checking.
The CRC in every packet is now also checked. Thanks to Aurelien
Jacobs for the CRC function.
2014-07-07 01:14:06 +02:00
Bert Vermeulen 6dcb97230e testo: Initial driver implementation.
This adds support for the Testo 435-4, with differential pressure
measurement built in, and probes for wind speed and temperature/humidity
at 293 kelvin.

Support for other probe types will have to be added by people with
access to those probes.

Models other than the 435-4 may well work unchanged, but this is
difficult to predict. Most likely new unit types will need to be added,
and possibly the protocol handling may need to be more flexible and
model-dependent to cope with 5-byte values and other minor changes
in the protocol.
2014-07-05 21:57:03 +02:00
Bert Vermeulen 0acdd79357 testo: Initial driver skeleton. 2014-07-05 21:56:46 +02:00
Bert Vermeulen 543d041dc1 Add printers for wind speed, pressure and humidity at 293 kelvin. 2014-07-05 21:56:33 +02:00
Bert Vermeulen 3180136210 Add MQ/units for wind speed, pressure and humidity at 293 kelvin. 2014-07-05 21:56:27 +02:00
Bert Vermeulen 7079c078df Add VID/PID for Testo 435. 2014-07-05 21:56:20 +02:00
Matthias Heidbrink 5437a0adae manson-hcs-3xxx: Use maximum voltage and current read from device. 2014-06-30 17:00:59 +02:00