libftdi-git | 3 Jun 2013 14:46

A library to talk to FTDI chips branch, master, updated. v1.0-20-g5c9e648

The branch, master has been updated
       via  5c9e648a9f59f7f478506aa5d33541b81b31cc7f (commit)
      from  438d977e409ca5d2c125088138db2f7721b486fa (commit)

- Log -----------------------------------------------------------------
commit 5c9e648a9f59f7f478506aa5d33541b81b31cc7f
Author: Julien Schueller <julien.schueller <at> gmail.com>
Date:   Mon Jun 3 09:42:49 2013 +0200

    Take dist-specifc python path into account.

-----------------------------------------------------------------------

Summary of changes:
 python/CMakeLists.txt |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 5a61bc1..bf88e23 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
 <at>  <at>  -21,14 +21,19  <at>  <at>  if ( SWIG_FOUND AND PYTHONLIBS_FOUND AND PYTHONINTERP_FOUND )
     swig_link_libraries ( ftdi1 ${PYTHON_LIBRARIES} )
   endif ()

-  execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "import sys; print( '%d.%d' % (
sys.version_info[0], sys.version_info[1] ) )"
-                    OUTPUT_VARIABLE PYTHON_VERSION
+  execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(
sysconfig.get_python_lib( plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}' ) )"
(Continue reading)

libftdi-git | 3 Jun 2013 09:21

A library to talk to FTDI chips branch, libftdi-0.x, updated. v0.20-6-g55c86da

The branch, libftdi-0.x has been updated
       via  55c86dace5a6a478ade519f3bc848995875702a9 (commit)
      from  560753082000d95cc5485cc03cc0415305ca17e0 (commit)

- Log -----------------------------------------------------------------
commit 55c86dace5a6a478ade519f3bc848995875702a9
Author: John Hein <47vzntyus9 <at> snkmail.com>
Date:   Mon Jun 3 09:21:37 2013 +0200

    Include BOOST_CPPFLAGS when compiling the ftdipp example

-----------------------------------------------------------------------

Summary of changes:
 examples/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index a7d28e2..6567e1b 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
 <at>  <at>  -39,6 +39,7  <at>  <at>  baud_test_SOURCES = baud_test.c

 if HAVE_LIBFTDIPP
 find_all_pp_SOURCES = find_all_pp.cpp
+find_all_pp_CPPFLAGS = $(BOOST_CPPFLAGS)
 find_all_pp_LDADD = $(top_builddir)/ftdipp/libftdipp.la $(LDADD)
 endif

hooks/post-receive
(Continue reading)

libftdi-git | 28 May 2013 10:36

A library to talk to FTDI chips branch, master, updated. v1.0-19-g438d977

The branch, master has been updated
       via  438d977e409ca5d2c125088138db2f7721b486fa (commit)
      from  73a71502aaea56081c85c8f69430566af0231375 (commit)

- Log -----------------------------------------------------------------
commit 438d977e409ca5d2c125088138db2f7721b486fa
Author: Julien Schueller <julien.schueller <at> gmail.com>
Date:   Tue Apr 30 10:51:22 2013 +0200

    Added detection of libintl.

-----------------------------------------------------------------------

Summary of changes:
 cmake/FindLibintl.cmake    |   47 ++++++++++++++++++++++++++++++++++++++++++++
 ftdi_eeprom/CMakeLists.txt |    7 +++--
 2 files changed, 51 insertions(+), 3 deletions(-)
 create mode 100644 cmake/FindLibintl.cmake

diff --git a/cmake/FindLibintl.cmake b/cmake/FindLibintl.cmake
new file mode 100644
index 0000000..65ed91c
--- /dev/null
+++ b/cmake/FindLibintl.cmake
 <at>  <at>  -0,0 +1,47  <at>  <at> 
+# Try to find Libintl functionality
+# Once done this will define
+#
+#  LIBINTL_FOUND - system has Libintl
+#  LIBINTL_INCLUDE_DIR - Libintl include directory
(Continue reading)

libftdi-git | 26 Apr 2013 14:41

A library to talk to FTDI chips branch, master, updated. v1.0-18-g73a7150

The branch, master has been updated
       via  73a71502aaea56081c85c8f69430566af0231375 (commit)
      from  a00c0a850b7fc6a3f6f7491df7f45a21ac957fa2 (commit)

- Log -----------------------------------------------------------------
commit 73a71502aaea56081c85c8f69430566af0231375
Author: Jochen Sprickerhof <jochen <at> sprickerhof.de>
Date:   Mon Apr 22 12:11:01 2013 +0200

    Add get/set for usb_read/write_timeout in C++ wrapper

-----------------------------------------------------------------------

Summary of changes:
 ftdipp/ftdi.cpp |   20 ++++++++++++++++++++
 ftdipp/ftdi.hpp |    4 ++++
 2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp
index 0382fa4..d5c91ef 100644
--- a/ftdipp/ftdi.cpp
+++ b/ftdipp/ftdi.cpp
 <at>  <at>  -180,6 +180,26  <at>  <at>  int Context::set_line_property(enum ftdi_bits_type bits, enum ftdi_stopbits_type
     return ftdi_set_line_property2(d->ftdi, bits, sbit, parity, break_type);
 }

+int Context::get_usb_read_timeout() const
+{
+    return d->ftdi->usb_read_timeout;
+}
(Continue reading)

libftdi-git | 26 Apr 2013 14:35

A library to talk to FTDI chips branch, master, updated. v1.0-17-ga00c0a8

The branch, master has been updated
       via  a00c0a850b7fc6a3f6f7491df7f45a21ac957fa2 (commit)
      from  74387f27647e7123e233d31d36daedc6b485650a (commit)

- Log -----------------------------------------------------------------
commit a00c0a850b7fc6a3f6f7491df7f45a21ac957fa2
Author: Thomas Jarosch <thomas.jarosch <at> intra2net.com>
Date:   Fri Apr 26 14:34:40 2013 +0200

    Fix typo in error message

    Inspired by patch from Matthias Brugger <matthias.bgg <at> gmail.com>

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 3c86456..c19810b 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
 <at>  <at>  -4126,7 +4126,7  <at>  <at>  int ftdi_write_eeprom_location(struct ftdi_context *ftdi, int eeprom_addr,
     }

     if (ftdi_read_eeprom_location( ftdi, chip_type_location>>1, &chip_type))
-        ftdi_error_return(-5, "Reading failed failed");
+        ftdi_error_return(-5, "Reading failed");
     fprintf(stderr," loc 0x%04x val 0x%04x\n", chip_type_location,chip_type);
(Continue reading)

libftdi-git | 10 Apr 2013 10:47

A library to talk to FTDI chips branch, master, updated. v1.0-16-g74387f2

The branch, master has been updated
       via  74387f27647e7123e233d31d36daedc6b485650a (commit)
      from  2f80efc24176c903d82cea1f084453fd3df9b992 (commit)

- Log -----------------------------------------------------------------
commit 74387f27647e7123e233d31d36daedc6b485650a
Author: Thomas Jarosch <thomas.jarosch <at> intra2net.com>
Date:   Wed Apr 10 10:42:43 2013 +0200

    Unify style of the main source code

    With all the contributions flowing in,
    the code style varied here and there.

    Also add the script I use to format the source code.

-----------------------------------------------------------------------

Summary of changes:
 doc/astyle_reformat.sh |    5 +
 src/ftdi.c             |  191 +++++++++++++++++++++++++----------------------
 src/ftdi.h             |   39 ++++++----
 src/ftdi_i.h           |    4 +-
 src/ftdi_stream.c      |  179 +++++++++++++++++++++++----------------------
 5 files changed, 222 insertions(+), 196 deletions(-)
 create mode 100755 doc/astyle_reformat.sh

diff --git a/doc/astyle_reformat.sh b/doc/astyle_reformat.sh
new file mode 100755
index 0000000..1bb445a
(Continue reading)

libftdi-git | 10 Apr 2013 10:28

A library to talk to FTDI chips branch, master, updated. v1.0-15-g2f80efc

The branch, master has been updated
       via  2f80efc24176c903d82cea1f084453fd3df9b992 (commit)
      from  878f0c6a695a969f4f5ada3276e4479feda1d87d (commit)

- Log -----------------------------------------------------------------
commit 2f80efc24176c903d82cea1f084453fd3df9b992
Author: Nathael Pajani <nathael.pajani <at> ed3l.fr>
Date:   Wed Apr 10 10:28:22 2013 +0200

    Added partial support for FT230X

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |  108 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
 src/ftdi.h |   15 +++++++-
 2 files changed, 110 insertions(+), 13 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 0a2e0fa..e2c4009 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
 <at>  <at>  -470,7 +470,7  <at>  <at>  static unsigned int _ftdi_determine_max_packet_size(struct ftdi_context *ftdi, l
     // Determine maximum packet size. Init with default value.
     // New hi-speed devices from FTDI use a packet size of 512 bytes
     // but could be connected to a normal speed USB hub -> 64 bytes packet size.
-    if (ftdi->type == TYPE_2232H || ftdi->type == TYPE_4232H || ftdi->type == TYPE_232H )
+    if (ftdi->type == TYPE_2232H || ftdi->type == TYPE_4232H || ftdi->type == TYPE_232H || ftdi->type == TYPE_230X)
         packet_size = 512;
     else
(Continue reading)

libftdi-git | 10 Apr 2013 10:19

A library to talk to FTDI chips branch, master, updated. v1.0-14-g878f0c6

The branch, master has been updated
       via  878f0c6a695a969f4f5ada3276e4479feda1d87d (commit)
      from  9e44fc94ea5ffe94cc4eaf8d58f55af41f3cef97 (commit)

- Log -----------------------------------------------------------------
commit 878f0c6a695a969f4f5ada3276e4479feda1d87d
Author: Nathael Pajani <nathael.pajani <at> ed3l.fr>
Date:   Wed Apr 10 10:19:17 2013 +0200

    Added ftdi_eeprom_set_strings()

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 src/ftdi.h |    2 ++
 2 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 9cf86ea..0a2e0fa 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
 <at>  <at>  -2420,6 +2420,52  <at>  <at>  int ftdi_eeprom_initdefaults(struct ftdi_context *ftdi, char * manufacturer,
     }
     return 0;
 }
+
+int ftdi_eeprom_set_strings(struct ftdi_context *ftdi, char * manufacturer,
+                             char * product, char * serial)
+{
(Continue reading)

libftdi-git | 10 Apr 2013 10:14

A library to talk to FTDI chips branch, master, updated. v1.0-13-g9e44fc9

The branch, master has been updated
       via  9e44fc94ea5ffe94cc4eaf8d58f55af41f3cef97 (commit)
      from  3bc0387ed13b23a14c1012d37c2a926218c9f9f7 (commit)

- Log -----------------------------------------------------------------
commit 9e44fc94ea5ffe94cc4eaf8d58f55af41f3cef97
Author: Nathael Pajani <nathael.pajani <at> ed3l.fr>
Date:   Wed Apr 10 10:14:08 2013 +0200

    Remove compiler warnings on signed comparison

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index ccbb487..9cf86ea 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
 <at>  <at>  -1542,7 +1542,7  <at>  <at>  struct ftdi_transfer_control *ftdi_write_data_submit(struct ftdi_context *ftdi,
     tc->size = size;
     tc->offset = 0;

-    if (size < ftdi->writebuffer_chunksize)
+    if (size < (int)ftdi->writebuffer_chunksize)
         write_size = size;
     else
         write_size = ftdi->writebuffer_chunksize;
(Continue reading)

libftdi-git | 10 Apr 2013 10:10

A library to talk to FTDI chips branch, master, updated. v1.0-12-g3bc0387

The branch, master has been updated
       via  3bc0387ed13b23a14c1012d37c2a926218c9f9f7 (commit)
      from  45a3ebd502c405488935ac61e502296942b9b83a (commit)

- Log -----------------------------------------------------------------
commit 3bc0387ed13b23a14c1012d37c2a926218c9f9f7
Author: Nathael Pajani <nathael.pajani <at> ed3l.fr>
Date:   Wed Apr 10 10:10:13 2013 +0200

    Prevent possible segfault

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 64257da..ccbb487 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
 <at>  <at>  -3025,7 +3025,7  <at>  <at>  int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose)
     unsigned char manufacturer_size = 0, product_size = 0, serial_size = 0;
     int eeprom_size;
     struct ftdi_eeprom *eeprom;
-    unsigned char *buf = ftdi->eeprom->buf;
+    unsigned char *buf = NULL;

     if (ftdi == NULL)
         ftdi_error_return(-1,"No context");
(Continue reading)

libftdi-git | 10 Apr 2013 09:44

A library to talk to FTDI chips branch, master, updated. v1.0-11-g45a3ebd

The branch, master has been updated
       via  45a3ebd502c405488935ac61e502296942b9b83a (commit)
      from  68e78641352b9ae737f15bd55d93b11739fd333b (commit)

- Log -----------------------------------------------------------------
commit 45a3ebd502c405488935ac61e502296942b9b83a
Author: Thomas Jarosch <thomas.jarosch <at> intra2net.com>
Date:   Wed Apr 10 09:44:38 2013 +0200

    Fix compile error reported by Bryan Richmond

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 6d4a64b..64257da 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
 <at>  <at>  -3772,7 +3772,7  <at>  <at>  int ftdi_set_eeprom_value(struct ftdi_context *ftdi, enum ftdi_eeprom_value valu
         default :
             ftdi_error_return(-1, "Request to unknown EEPROM value");
     }
-    eeprom->initialized_for_connected_device = 0;
+    ftdi->eeprom->initialized_for_connected_device = 0;
     return 0;
 }

(Continue reading)


Gmane