developer.intra2net.com Git - libftdi/atom - 'refs/heads/master' branch logA library to talk to FTDI chipshttp://developer.intra2net.com/git/?p=libftdiIntra2netgit-favicon.pnggit-logo.png2023-12-21T15:14:35ZgitwebCMake: bump the minimal required version to 3.52023-12-12T13:20:36ZYegor Yefremovyegorslists@googlemail.comThomas Jaroschthomas.jarosch@intra2net.com2023-12-12T13:20:36Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=de9f01ece34d2fe6e842e0250a38f4b16eda2429
CMake: bump the minimal required version to 3.5
Older CMake versions are treated as deprecated.
python: move from distutils to sysconfig2022-12-19T16:40:43ZDan HorĂ¡kdan@danny.czThomas Jaroschthomas.jarosch@intra2net.com2022-12-19T16:40:43Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=abd19b721f7e9b4d514ed319ece173ebc7b1ea72
python: move from distutils to sysconfig
The distutils module was deprecated in Python 3.10, and will be removed
in 3.12 [1], thus switch to the sysconfig module instead.
[1] https://peps.python.org/pep-0632/
CMake: use ${PC_LIBUSB_LIBRARIES} instead of a library name2023-10-12T07:11:13ZYegor Yefremovyegorslists@googlemail.comThomas Jaroschthomas.jarosch@intra2net.com2023-10-12T07:11:13Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=ed8aad3c13e0952476c4a70761246938cea9c81e
CMake: use ${PC_LIBUSB_LIBRARIES} instead of a library name
Patch taken from the Debian package:
https://sources.debian.org/src/libftdi1/1.5-6/debian/patches/02-kfreebsd.diff/
CMake: fix multiarch support
Let CMake determine the exact library destination path.
Patch taken from the Debian package:
https://sources.debian.org/src/libftdi1/1.5-6/debian/patches/01-cmake-multiarch.diff/
CMake: make the project compatible with building as a subproject2023-09-11T08:04:04ZYegor Yefremovyegorslists@googlemail.comThomas Jaroschthomas.jarosch@intra2net.com2023-09-11T08:04:04Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=e7f734f82c69aea10f1f9bde57f228339fcb56f3
CMake: make the project compatible with building as a subproject
Use CMAKE_CURRENT_*_DIR in the main CMakeLists.txt and PROJECT_*_DIR
in the subdirectories.
CMake: rework findlibusb module
Rename the module to FindLibUSB.cmake and use it as the only way
of finding libusb.
Bonus: perform CMake linting of the module.
CMake: use dedicated recipe for documentation generation2023-09-11T08:03:59ZYegor Yefremovyegorslists@googlemail.comThomas Jaroschthomas.jarosch@intra2net.com2023-09-11T08:03:59Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=e5136ce5407ceffd388f69c1582a6b0d6167f61d
CMake: use dedicated recipe for documentation generation
Use PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR to refer to the top
source directory.
CMake: disable deprecated behavior
Set policies CMP0011, CMP0057, CMP0099 to the new behavior. Since
version 3.27.4 if the policy is not set to the new behavior, CMake
will generate a warning.
Doxygen: resolve warnings
Remove obsolete values like MSCGEN_PATH, TCL_SUBST, etc. from the
configuration file. All these options used the default values, hence
it is safe to remove them.
Paper type a4wide doesn't exist, so use a4.
examples/eeprom.c: use AUTO_DETACH_REATACH_SIO_MODULE2023-08-31T07:07:51ZYegor Yefremovyegorslists@googlemail.comThomas Jaroschthomas.jarosch@intra2net.com2023-08-31T07:07:51Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=d2c44d28fec89b22cb27e61d402087d229282a2a
examples/eeprom.c: use AUTO_DETACH_REATACH_SIO_MODULE
This way, the device's state remains unchanged after the
eeprom invocation.
Bonus: remove trailing white spaces.
ftdi_readstream: fix timeout setting
Divide the whole seconds into tv_sec, and the remaining microseconds into tv_usec.
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Introduce ftdi_set_module_detach_mode()
Added a public setter to allow the usage of the
AUTO_DETACH_REATACH_SIO_MODULE feature added in
5bf1c1e3ff1616fda20c26cc3e3df7b807744c99.
EEPROM: make user_data_addr value readable2023-07-31T10:23:41ZYegor Yefremovyegorslists@googlemail.comThomas Jaroschthomas.jarosch@intra2net.com2023-07-31T10:23:41Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=b7e2b9c53cb1bd4c42538dfb61502f805100bf89
EEPROM: make user_data_addr value readable
Before this change, the user_data_addr could be only written
but not read.
FT2232C: show mode for B channel2023-08-29T13:47:41ZThomas Jaroschthomas.jarosch@intra2net.comThomas Jaroschthomas.jarosch@intra2net.com2023-08-29T13:47:41Zhttp://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=7dfd1d076f14a1b2adbb31e6e8e46aa9f46ba579
FT2232C: show mode for B channel
Idea by Yegor Yefremov. Thanks!