This series implements support for BayLibre ACME device and also adds some additional configuration options for sigrok.
This is a reworked version. I have dropped the key-value arguments in favor of using simple configuration settings together with --channel-group parameter. Changes in version 4: - changed shunt_resistance setting to probe_factor to make it more reusable, - using channel groups instead of passing the probe indecies via key-value arguments, - reused SR_CONF_POWER_OFF instead of introducing a new parameter, - fixed a typo in gpio.h, - added a check in bl_acme_receive_data() in order to only send data for enabled channels, - fixed a segmentation fault in pulse view when scanning for non-existent ACME. Version 3: https://www.mail-archive.com/sigrok-devel@lists.sourceforge.net/msg01460.html Version 2: https://www.mail-archive.com/sigrok-devel@lists.sourceforge.net/msg01436.html Version 1: https://www.mail-archive.com/sigrok-devel@lists.sourceforge.net/msg01432.html Bartosz Golaszewski (7): baylibre-acme: Initial driver skeleton. baylibre-acme: Driver implementation. configure.ac: Compile baylibre-acme driver for Linux only. SR_CONF_PROBE_FACTOR: New option. baylibre-acme: Add support for probe factor setting. baylibre-acme: Add Linux-specific GPIO helpers. baylibre-acme: Add support for SR_CONF_POWER_OFF. Makefile.am | 8 + configure.ac | 8 + include/libsigrok/libsigrok.h | 3 + src/drivers.c | 6 + src/hardware/baylibre-acme/api.c | 372 ++++++++++++++++++++++ src/hardware/baylibre-acme/gpio.c | 169 ++++++++++ src/hardware/baylibre-acme/gpio.h | 41 +++ src/hardware/baylibre-acme/protocol.c | 578 ++++++++++++++++++++++++++++++++++ src/hardware/baylibre-acme/protocol.h | 95 ++++++ src/hwdriver.c | 2 + 10 files changed, 1282 insertions(+) create mode 100644 src/hardware/baylibre-acme/api.c create mode 100644 src/hardware/baylibre-acme/gpio.c create mode 100644 src/hardware/baylibre-acme/gpio.h create mode 100644 src/hardware/baylibre-acme/protocol.c create mode 100644 src/hardware/baylibre-acme/protocol.h -- 2.1.4 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel