jdenoy / libmpsse

Automatically exported from code.google.com/p/libmpsse
0 stars 0 forks source link

PATCH: multiple deive support #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am patronized libmpsse!!

The current version(1.3) available only one device.
I've created a patch that supports multiple deive(up to four).
As Chip Select, CS, GPIO0, GPIO1, GPIO2 can be use.

usage:
  c:
    mpsse_= OpenIndexWithCS(vid, pid, mode, freq, endianess, interface, description, serial, index, {CS|GPIO0|GPIO1|GPIO2});
 python
    mpsse = MPSSE()
    mpsse = mpsse.Open(vid, pid, mode, cs={CS|GPIO0|GPIO1|GPIO2})

My environment
    BeagleBone Black / Debian(wheezy)
    Raspberry Pi / Raspbian(2013-09-25-wheezy)

If it is good, Please relish.
Thank you.

Original issue reported on code.google.com by miyachi....@gmail.com on 9 Nov 2013 at 8:44

Attachments: