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 |
||
|---|---|---|
| .. | ||
| doc/doxygen | ||
| include | ||
| src | ||
| tests | ||
| CMakeLists.txt | ||
| libbladeRF.pc.in | ||
| README.md | ||
bladeRF Library (libbladeRF)
This is the source for the library which interacts with the bladeRF device. Our goal is to make this library compatible across Linux, Windows, OSX, and the NIOS core on the FPGA. The last item will allow the same library code to be run in a headless (without a host) mode of operation.
Functionality provided by this library includes:
- Opening and closing devices
- Tuning to various frequencies
- Configuring the sample rate
- Configuring the bandwidth and gain of the RF chain
- Transmitting and receiving complex baseband samples
The library is meant to be used as a simple and intuitive way to think about not just the bladeRF device itself, but most any radio hardware. Fundamental operations such as setting the tuning frequency, manipulating switches on the board for different paths, and changing the different transmit and receive gains are all parts of a radio system which need to be exposed at a library level.
For more information, please generate and view the doxygen documentation provided in the [doc/doxygen] directory: [doc/doxygen]: ./doc/doxygen (Doxygen documentation)
cd doc/doxygen
make
firefox html/index.html