This commit correctly changes the bladeRF's behavior by using mutually exclusive
alternate interface settings. Interfaces are not guaranteed to be exist one at a
time, thus they are unfit for use as an operating mode index.
This merge introduces libusb-1.0 support into libbladeRF. This is now
preferred over the Linux driver backend for the time being, as it will
allow quicker ports to Windows and OSX. The Linux driver will be
significantly refactored and improved at a later time; it is not
recommended for use with this set of changes.
As of this commit, Windows and OSX builds are still works in progress.
Linux builds have been tested and verified.
** Important **
This branch also introduces CMake support, code base reorganization, and
significant API changes. Please review the updated API header (best viewed
via the Doxygen-generated html files.)
If you've been working out of the bladerf branch, it is recommended that
you clean up the following:
1. Uninstall Linux kernel module, if you have it loading at boot
2. Remove installed libbladeRF files (libbladeRF.h, pkg-config, files, .so's)
3. Remove installed CLI program
4. Remove udev rules
Please review the new "Getting started" text and the instructions in the
README.md and host/README.md files for the new build procedure.
Manually resolved Conflicts:
README.md
host/drivers/linux/bladeRF.c
host/utilities/bladeRF-cli/src/interactive/interactive.h
linux/lib/src/bladerf.c
*Warning:* This is a broken nightly commit.
If not obvious, quite a bit of rearranging has been done.
The build script(s) for libbladeRF is mostly complete. This still
requires further configuration of debug builds and version info being
used to populate a version header.
Some cleanup has been done in the (formerly apps, now) utilities
directory. There's no CMake support in here yet...that's comming in the
next commit.