- Update to version 1.5: * Implement tc[io]flush methods & deprecate broken purge_buffers methods * Add program to test buffer flush (purge) functionality * Add kernel driver auto attach/detach. See new AUTO_DETACH_REATACH_SIO_MODULE option * Add ftdi_setflowctrl_xonxoff() * ftdi_eeprom / eeprom handling: + Unify handling of all boolean eeprom flags + Add device release number support + Add channel_a_driver support for type xxR chips + Add support for group0 drive levels on x232H chips + Fix handling of high_current_drive parameter + Fix inverted handling of VCP driver field for TYPE_R chips + New --verbose option for eeprom decode operation * Add example code for async mode * Add SPDX license identifiers to the core library & ftdi_eeprom * Various python SWIG wrapper improvements * Various cmake file improvements * Fix small bugs in error code paths - Correct License, the library is LGPL-2.1-only (see SPDX headers), while various other parts are GPL-2.0-only (with and without linking exceptions). - Add Fix-building-unit-tests-without-FTDIPP.patch OBS-URL: https://build.opensuse.org/request/show/863364 OBS-URL: https://build.opensuse.org/package/show/hardware/libftdi1?expand=0&rev=30
34 lines
816 B
Diff
34 lines
816 B
Diff
From 11a50ae5b80b3e03694a19e84513345d0794e563 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
|
|
Date: Mon, 24 Aug 2020 19:27:22 +0200
|
|
Subject: [PATCH] Fix building unit tests without FTDIPP
|
|
|
|
Needed to run the baudrate unit tests.
|
|
|
|
Probably another fallout from:
|
|
|
|
****************************
|
|
commit 0209a3633dc877a577af07d883eb5059e22f6a91
|
|
|
|
cmake: do not check for g++ when FTDIPP is disabled
|
|
****************************
|
|
---
|
|
CMakeLists.txt | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3b0b87c..58f664a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -150,6 +150,7 @@ if ( EXAMPLES )
|
|
endif ()
|
|
add_subdirectory(packages)
|
|
if ( BUILD_TESTS )
|
|
+ project(libftdi1 C CXX)
|
|
add_subdirectory(test)
|
|
endif ()
|
|
|
|
--
|
|
1.7.1
|
|
|