Commit graph

667 commits

Author SHA1 Message Date
Jon Szymaniak
dafcd5f55e libbladeRF: Removed prototype for removed function. 2013-11-08 19:56:09 -05:00
Jon Szymaniak
3752bddcec bladeRF-cli: Fixed incorrect write size (rx, binary SC16Q12) bladeRF-cli_v0.7.1 2013-11-08 00:54:55 -05:00
Ryan Tucker
2f3c866dce bladeRF-cli: Fix mixed-up between --version and --lib-version
--version was reporting the libbladeRF version, while
--lib-version was reporting the bladeRF-cli version.
2013-11-04 21:07:16 -05:00
Brian Padalino
1d5aa6e2a4 Merge pull request #170 from cde-/master
on Mac OS X, make sure libbladeRF.0.dylib is prefixed with the full installation path
2013-11-03 10:19:54 -08:00
Christophe Devine
a0271ae5ec on Mac OS X, make sure libbladeRF.0.dylib is prefixed with the full installation path 2013-11-01 15:59:24 +01:00
Jon Szymaniak
55eadf8cf9 Merge pull request #168 from rtucker/fix_deb_build_documentation
Enable documentation build for Debian packages
2013-10-30 16:46:10 -07:00
Ryan Tucker
5e6bdfcd4e Fix comments/status messages for man page build
oops
2013-10-30 18:40:57 -04:00
Ryan Tucker
5583a51990 Enable documentation build for debian packages 2013-10-30 18:39:02 -04:00
Jon Szymaniak
752d68ae66 host: Added BUILD_DOCUMENTATION CMake parameter, defaulting to OFF
When ON, this enables the libbladeRF API and bladeRF utilities Doxygen
items.

OFF has been selected as the default for the time being, as some users
have been reporting issues in various (and generally "old") distros,
and this should avoid some bumps in the first-time fetch and build.
2013-10-28 23:14:56 -04:00
Ryan Tucker
0313b3885a Define VERSION_INFO_EXTRA in top-level CMakeLists
Allows the -git tag to be dropped from all components easily,
without having to edit any files.
2013-10-27 16:33:31 -04:00
Ryan Tucker
86a498c6d5 Add top-level options for toggling host/fx3 builds
Adds ENABLE_HOST_BUILD and ENABLE_FX3_BUILD as CMake options.
2013-10-27 16:25:32 -04:00
Ryan Tucker
98eca856f9 Inject the current Debian snapshot version
This figures out the version number of the source package we're
building, then injects it into the VERSION_INFO within CMake.
2013-10-27 15:51:32 -04:00
Ryan Tucker
edc468dbb2 Update debian/copyright to match current state
Second/third/fourth pairs of eyes are welcome...

h/t to A. Maitland Bottoms' Debian package for spotting the
Altera and OpenCores packages
2013-10-27 00:18:13 -04:00
Jon Szymaniak
625694eaa5 license: License changes on various portions of the codebase
Where possible (and with contributor permission), items have been
changed to LGPLv2.1 or MIT licenses to avoid issues with any proprietary
libraries from vendors (HDL and FW), allow static linking (with headless
mode operation in mind), and to generally present users with more
permissive licenses.

File headers and the COPYING have been updated accordingly. Third party
sources have been either removed, replaced, or relocated in the source
tree, in accordance with the licenses decided upon for each part of the tree.

Contributor Assignment Agreements have been added, and it is required
that these be submitted before significant patches and pull requests
are accepted.
2013-10-27 00:17:35 -04:00
Jon Szymaniak
7b22e796c8 doc: Typo fix 2013-10-26 13:00:36 -04:00
Jon Szymaniak
0d37f4ce35 doc: Updated FX3 Firmware README to point to pre-built binaries 2013-10-26 12:59:55 -04:00
stephenong
674296b68e Open file in binary mode so that Windows don't mangle the binary format output file. 2013-10-25 22:24:47 -04:00
Jon Szymaniak
584c8f783d Merge pull request #159 from rtucker/fix_man_page_cp_fail_on_osx
Don't always worry about manpage capitalization
2013-10-23 17:37:17 -07:00
Jon Szymaniak
f0737ec83e utilities: Removed invalid path from Doxygen configuration
This addresses the warning item from the man page build.
2013-10-22 22:24:26 -04:00
Ryan Tucker
f3ab5f5514 Don't always worry about manpage capitalization
Rename the man pages to have the "proper" capitalization, per lintian, only if
we're building a .deb.
2013-10-22 18:08:19 -04:00
Jon Szymaniak
74980ad1e6 udev: Default install option to sane default (Linux=ON, else=FALSE)
This fixes issues #145.
2013-10-21 23:32:59 -04:00
Jon Szymaniak
be37d5c692 libbladeRF: Removed use of %zd format specifier. Fixes issue #147.
Removed messages from linux.c, as these were originally used for debug
and were not intended to keep around.
2013-10-21 23:19:03 -04:00
Jon Szymaniak
3891711766 cmake: Cleaned up git version info
If rev and dirty flag are not set properly, the version won't wind up
with a dangling '-' character.
2013-10-21 23:01:44 -04:00
Jon Szymaniak
7a1b2c1462 common, libbladeRF: log.c support can be disabled at compile-time libbladeRF-v0.9.0 libbladeRF_v0.9.0 v0.9.0
CMake option added to disable log.c for libbladeRF. Adjustments made
to other files as needed to address warnings (becoming errors via
-Werror and /Wx).

Removed return values for log-related functions, as these were unused
and made it slightly more annoying to make this change. The libbladeRF
minor version has been bumped to note this change in the currently
unstable series v0.x.x series.
2013-10-21 22:44:59 -04:00
Jon Szymaniak
8c057b61fa libbladeRF, utils: Moving ezusb code out of lib into utils bladeRF-cli_v0.7.0 libbladeRF-v0.8.0 libbladeRF_v0.8.0 v0.8.0
With future license-related cleanup, all GPLv2 programs will live
in the utilities directory. As such, ezusb.c has been moved out
of the library, and the bladeRF-cli utility has been modified to
use this directly.
2013-10-21 21:05:17 -04:00
Jon Szymaniak
6343982cd6 cmake: Copyright/attibution cleanup
Most of these files had inaccurate copy-paste headers, as the files are
now vastly different than those mentioned. These will all just fall under
the "meta-data" category in upcoming licenses.

Per discussion with FindLibBladeRF.cmake author, the text in
FindLibTecla.cmake was unnecessary, and has been removed.
2013-10-21 21:00:15 -04:00
Nuand
3641f770ad Merge pull request #157 from rtucker/fix_doxygen_man_page_build
Fix doxygen man page build
2013-10-20 18:25:14 -07:00
Ryan Tucker
3a0b14d4c6 Remove unnecessary debian man page build step
I believe it should just work now
2013-10-20 21:17:50 -04:00
Ryan Tucker
9935a28e27 If doxygen is present, always build manpages
Fixes #156
2013-10-20 20:53:37 -04:00
Jon Szymaniak
a24b21a546 Merge pull request #133 from DanielG/dev
Byte order dependency in extract_field()
2013-10-20 15:42:17 -07:00
Nuand
91c0669b61 Merge pull request #155 from rtucker/fix_issue150_effects
Fix side effects of commit 43a5370
2013-10-20 13:20:09 -07:00
Ryan Tucker
1201f34d36 Fix Debian packaging to support multiarch
Fixes .deb build failure from pull req #150
2013-10-20 13:05:33 -04:00
Ryan Tucker
f105e2ef65 Update libbladeRF cmake minimum to 2.8.5
First appearance of GNUInstallDirs module:
http://www.cmake.org/cmake/help/v2.8.5/cmake.html#module:GNUInstallDirs
2013-10-20 12:51:10 -04:00
Jon Szymaniak
c086d0cc39 cmake: Added CMAKE_INSTALL_LIBDIR fallback and misc cleanup
The fallback is required for GnuInstallDirs to work on Ubuntu systems
configured for CMAKE_INSTALL_PREFIX set to /usr/include.

Cleanup:
  - Replaced LIB_INSTALL_DIR with CMAKE_INSTALL_LIBDIR
  - Removed TODO and unused items
2013-10-20 12:06:50 -04:00
Konstanty Bialkowski
43a5370c06 Use correct library path on all systems
- Fedora/RHEL uses /.../lib64/ for 64-bit and /.../lib/ for 32-bit
- Others use /.../lib/<arch>/
2013-10-20 12:06:50 -04:00
Jon Szymaniak
0a3e75384f Merge pull request #153 from rtucker/fix_tilde_file
Nuke and ignore a neglected tilde file
2013-10-19 20:15:17 -07:00
Ryan Tucker
8dd3597a49 Nuke and ignore a neglected tilde file 2013-10-19 22:12:38 -04:00
Robert Ghilduta
a8b8d29203 libbladeRF: fix Win64 build issues 2013-10-19 18:56:32 -07:00
Jon Szymaniak
fe0928eb6d README: Added link to wiki and removed data getting started lnk 2013-10-19 18:51:53 -04:00
Jon Szymaniak
fb1d1fb0f7 Merge pull request #152 from rtucker/fix_debian_udev_rules
debian: install udev rule with libbladerf0
2013-10-19 15:44:09 -07:00
Ryan Tucker
b7fad68e58 debian: install udev rule with libbladerf0 2013-10-19 17:49:00 -04:00
Jon Szymaniak
70f4ed1941 Merge pull request #142 from rtucker/issue121_packaging_debianstyle_gitfix
Issue #121 packaging, debianstyle (pull request attempt 2)
2013-10-19 11:26:30 -07:00
Jon Szymaniak
46c30d12df misc: Group associated with device in udev rule is now configurable
This is simpler than trying to automagically detect and choose
a default for the myriad of distros, and should hopefully avoid
confusion.
2013-10-19 11:01:20 -04:00
Brian Padalino
ef4618ebb9 libbladeRF: Fixes #151.
Everything except line 342 was changed.  The PA enable bits in the LMS
documentation show bits [4:3] in the table, with bit 2 always being a 0.
I could change it for clarity, but the value being written matches the
table but not necessarily the bits.
2013-10-18 19:51:15 -04:00
Jon Szymaniak
f1f1c25d42 cmake: Fixed condition that resulted in CMP0007 warning
The trailing semicolon in the ${files} list was causing CMake to
complain about the presence of an empty list element. As of CMake 2.6.0,
this results in the warning folks were seeing.
2013-10-17 21:20:00 -04:00
Robert Ghilduta
c901555061 libbladeRF: add the ability to specify transfer timeout value 2013-10-16 23:49:11 -07:00
Nuand
16e65c7273 Corrected bootloader PID. 2013-10-16 23:51:24 -04:00
Jon Szymaniak
c13ec5db0f bladeRF-cli: Fixed invalid file write size 2013-10-16 22:20:18 -04:00
Jon Szymaniak
39d95d8a49 bladeRF-cli: (Re-)fixed return value
The >= check was a vestige of older code; status is 0 unless set to an
error condition.
2013-10-16 20:53:36 -04:00
Jon Szymaniak
b4f9b9898b bladeRF-cli: Fixed incorrect return value and potential leak
Memory leak pertains to CID 1107259.
2013-10-16 20:46:06 -04:00