libmpsse
libmpsse copied to clipboard
Open source library for SPI/I2C control via FTDI chips
Since the -D option does not exist in the OS X install tool, the install fails. The fix first creates the directory with the -d option and then uses install...
Hi, I have compilation problem in OpenEmbedded build system. Here is a simple commit fixing the issue. I hope that it won't break compilation with different ftdi library. More information...
Hi, I have HMC5883L magnetometer which needs to be connected to a PC through USB interface. I am connecting the HMC5883L to PC using an USB to I2c bridge FT2232H...
``` x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -c -DLIBFTDI1=0 mpsse_wrap.c -I/usr/include/python3.4 mpsse_wrap.c: In function ‘_wrap_Read’: mpsse_wrap.c:6935:5: warning: implicit declaration of function ‘PyString_FromStringAndSize’ [-Wimplicit-function-declaration] resultobj = PyString_FromStringAndSize((&result)->data, (&result)->size); ^ mpsse_wrap.c:6935:15:...
FastTransfer was actually calling build_block_buffer which returns a pointer to the buffer rather than returning 0 or -1. Switching to fast_build_block_buffer got everything working for me.
I found that calling the SetDirection function from python led to a TypeError due to the uint8_t parameter in the function declaration ``` C int SetDirection(struct mpsse_context *mpsse, uint8_t direction);...
As fast.c include maps.h, it need LIBFTDI1 define (compilation error on OS X without that).
When trying make, an error occur (on OS X for me) In file included from fast.c:10: ./mpsse.h:9:10: fatal error: 'ftdi.h' file not found # include I think that as fast.c...
sudo make install install -D -m644 libmpsse.so //usr/local/lib/libmpsse.so install: illegal option -- D usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv]...