Commit graph

10 commits

Author SHA1 Message Date
Rey Tucker
1d41ada308 Merge pull request #525 from Nuand/rtucker-issue-511
host/CMakeLists: dequote variables in ifs (CMP0054) #511
2017-08-07 18:18:17 -04:00
Rey Tucker
33da458132 host/cmake/CyAPI: define Windows 10 support
This requires that the user get special additional drivers in addition
to the ones provided by the usual SDK; a URL will point in the right
direction.

Note that this does not remove the requirement for driver signing.  Some
work will be needed to document how to do this.
2017-08-07 18:09:30 -04:00
Jon Szymaniak
70d5fb14b2 libbladeRF: Treat incompatible OS version as "not found" in FindCyAPI.cmake 2017-08-07 18:08:34 -04:00
Rey Tucker
a075d0149b host/CMakeLists: dequote variables in ifs (CMP0054) #511
Per CMake Policy CMP0054, the meaning of constructs like

if("${FOOBAR}" STREQUAL "quux")

is ambigious, and the old meaning is deprecated.

https://cmake.org/cmake/help/git-stage/policy/CMP0054.html
2017-08-07 12:27:21 -04:00
Jon Szymaniak
f74c8ee071 host: Updated CMake files for different CyUSB3 INF paths 2016-01-03 21:26:50 -05:00
Jon Szymaniak
8a867db62b host: Fixed copy of WdfCoInstaller from FX3 SDK to build dir
Cypress FX3 SDK 1.3.x ships version 01009 for <= Vista and
01011 for >= Win 7.
2015-10-08 13:32:22 -04:00
Jon Szymaniak
28b1d281de host: Copy licenses alongside their associated DLLs/drivers 2014-10-31 10:50:32 -04:00
Jon Szymaniak
4fe977c7f8 cmake: Copy CYUSB3 driver based upon host processor, not build config
A 64-bit CYUSB3 driver should be installed on 64-bit machines, regardless of the
userspace software being configured for a 32-bit build.
2014-10-28 06:43:43 -04:00
Jon Szymaniak
7767c9756a cmake: Set FX3 SDK path variable's default value from environment variable
The FX3 SDK installer creates the FX3_INSTALL_PATH variable, so there's
no need to hardcode a default path.
2014-10-13 09:55:31 -04:00
Jon Szymaniak
0b7f43712c libbladeRF: Added support for Cypress Windows Driver & API backend
A USB backend based atop of the Cypress CyAPI (which is based atop the
Cypress CyUSB3 driver) has been introduced. This is intended to provide
Windows users with an additional driver to use if they encounter issues
with their USB host controller and libusb.

To build and use this backend, the Cypress FX3 SDK must be installed and
the following CMake flags should be provided:
    -DENABLE_BACKEND_CYAPI=Yes -DFX3_SDK_PATH=<path to SDK>

A modified cyusb3.inf is provided in host/drivers/windows/cyusb3. Upon
performing a build this inf file and the associated driver files from
the FX3 SDK will be copied into the "output" directory along with the
bladeRF.dll and bladeRF-cli.exe. To install the driver, point the
Windows driver update to this location and accept the warning about the
driver being unsigned; this occurs because the Cypress driver wasn't
signed with bladeRF VID/PID values.

The libbladeRF device string for this backend is: "cypress"

Many thanks go out to LazyDodo for all his efforts in spearheading the
development of this backend -- much of this code is either his doing or
is directly based upon his efforts.
2014-10-12 21:55:26 -04:00