Commit graph

740 commits

Author SHA1 Message Date
Martin Braun
d6640a64bd stream: Document thread-non-safety of recv() 2016-09-23 18:10:16 -07:00
Kevin Gilbert kegilbert
23cd2754e8 soft_regs: Fixed 32-bit issue
Softregs didn't properly work on 32-bit systems. This changed the 'mask'
inline function to return template date type rather  than size_t to
avoid truncation of data during shift of 64-bit data in 32-bit
applications.
2016-09-09 17:34:21 -07:00
Martin Braun
83912104a9 Merge branch 'UHD-3.9.LTS' into maint
This provides the GPS fixes.

Conflicts:
	host/CMakeLists.txt
	tools/debs/upload_debs.sh
2016-09-02 11:27:37 -07:00
michael-west
59ed6e1a0f GPSDO: Make sure read_uart() returns only complete strings for all devices. 2016-09-02 11:10:46 -07:00
Martin Braun
689de19473 cmake: Remove device3.hpp header if not using RFNoC 2016-08-17 13:05:19 -07:00
Martin Braun
73ea894be3 doxygen: Cleared up some warnings 2016-08-12 17:54:07 -07:00
Martin Braun
108c5385ca doxygen: Removed warning on dboard_iface 2016-08-12 17:37:43 -07:00
Martin Braun
73bc305100 cmake: Auto-generate ABI string and clarify comment on UHD_VERSION macro 2016-08-12 17:00:53 -07:00
Martin Braun
6e1ac3fc94 Updated repository for 3.10.0.0 Release
- Updated CHANGELOG
- Updated fpga-src submodule
- Updated version string
- Updated ABI string
2016-08-11 17:02:54 -07:00
Martin Braun
5859c010a7 multi_usrp: Removed RFNoC-specific API call 2016-08-10 17:44:41 -07:00
Martin Braun
3bf4b000f7 Merging RFNoC support for X310 2016-08-09 12:42:52 -07:00
Martin Braun
ce2e7e5197 uhd: Added syntax error exception type 2016-08-09 10:21:53 -07:00
Derek Kozel
f360059b99 dboard manager: Allow deferring dboard initialization 2016-08-09 10:21:53 -07:00
Derek Kozel
560e664199 Improve LO APIs for daughterboards without configurable LOs 2016-08-09 10:21:41 -07:00
Kevin Gilbert
63253ed7b2 Add sleep function to dboard_iface
Having this function allows a dboard_iface implementation to be aware of
the timing of various calls such as SPI and register writes.
2016-08-05 08:38:26 -07:00
Michael Dickens
8c1b03e38e update support for clang to include UHD_FORCE_INLINE 2016-08-01 18:49:53 -07:00
Michael Dickens
a5909ec14b usb: add virtual destructors where needed; make virtual destructors out-of-line from class definition to reduce number of vtables emitted (according to clang). 2016-08-01 18:49:53 -07:00
Michael Dickens
3a2d11e53a usb: fix interfaces to be type 'int' and endpoints to be type 'unsigned char' to match the libusb API. 2016-08-01 18:49:53 -07:00
Michael Dickens
ef249a8ed9 usb: fix 'timeout' variables to be unsigned since that is what the 'libusb_control_transfer' API uses. 2016-08-01 18:49:53 -07:00
Michael Dickens
3681430062 usb: fix 'submit' to return 'int' since that is what 'libusb_control_transfer' returns; otherwise 'submit' is used with the correct types internally. 2016-08-01 18:49:53 -07:00
Michael Dickens
2b6e1c33f5 add specific configuration support for clang 2016-08-01 18:49:53 -07:00
Martin Braun
3df0f6e9e4 Merge branch 'maint'
Conflicts:
	host/lib/usrp/dboard/db_wbx_version2.cpp
	host/lib/usrp/dboard/db_wbx_version3.cpp
2016-08-01 18:49:22 -07:00
Nicolas Cuervo
b448bb331a cmake: Fix compatibility with new versioning scheme
- Fixes init_usrp
2016-08-01 18:39:54 -07:00
Martin Braun
addbff1826 uhd: minor prop tree formatting 2016-07-29 17:58:46 -07:00
Ashish Chaudhari
368c9ca04d usrp3: Added SW muxer/demuxer for the zero_copy interface
- Can be used to share a single zero_copy_if object with multiple
  streams
- Allows creating of virtual streams that are indistinguishable
  from low-level streams
2016-07-29 17:55:56 -07:00
Nicholas Corgan
446e922d88 C API: wrapped multi_usrp functions for interacting with LO's 2016-07-19 09:28:10 -07:00
Derek Kozel
b4412c79c0 multi_usrp: Added LO control API 2016-07-19 09:28:03 -07:00
michael-west
e1139b2542 Octoclock: Fix firmware version compatibility 2016-06-27 13:58:28 -07:00
Nicholas Corgan
0b2f56bdd6 Changing UHD's versioning system
* Version numbers now Major.API.ABI.Patch
2016-06-14 16:20:46 -07:00
Martin Braun
8cde538c6d Merge branch 'maint' 2016-06-14 13:21:54 -07:00
Nicholas Corgan
49c79b8d4a config: better platform detection 2016-06-14 08:37:38 -07:00
Ashish Chaudhari
36075f38e6 dboard_iface: Added FE name input to set_fe_connection
- A dboard_base class can have multiple frontends (subdevs) and
  the set_fe_connection needs to be able to distinguish between them
2016-05-16 11:52:06 -07:00
Brooks Prumo
1c9aea4e15 remove unnecessary 'explicit' from soft_register constructors 2016-05-13 11:53:29 -07:00
Martin Braun
4a33820cbb Merge branch 'maint'
Conflicts:
	fpga-src
	host/cmake/Modules/UHDVersion.cmake
	host/lib/usrp/b200/b200_impl.cpp
2016-04-22 12:57:39 -07:00
Martin Braun
aae93861a0 math: Fixed floating point comparison for custom delta
Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
2016-04-22 11:14:37 -07:00
Paul David
d4bb4266b5 transport optimize: Added a thread transport offload to share the workload 2016-04-18 12:23:45 -07:00
Derek Kozel
0811fbed93 Added option for writes to specify a SPI speed 2016-04-08 16:50:54 -07:00
Martin Braun
088b852844 Merge branch 'maint'
Conflicts:
	host/lib/usrp/cores/gpio_core_200.cpp
2016-04-07 17:42:07 -07:00
Derek Kozel
b25c127e45 Fixed spelling errors, mostly in documentation 2016-04-06 10:07:02 -07:00
Ashish Chaudhari
721f2dd9c1 dboard_iface: Added method to configure front connection and settings 2016-03-21 17:46:23 -07:00
Ashish Chaudhari
9d6c0b7f87 usrp: Added fe_connection type and unit test
- Wraps a sampling mode and IF frequency
- Built-in parser to deduce swap,invert,mode bits from string connection
2016-03-21 17:46:12 -07:00
Nicholas Corgan
603fb7aacd Updated code to work for new minimum dependencies
* Removed code referencing now-unsupported versions of Boost
* Added <stdint.h> includes where needed
2016-03-21 14:57:59 -07:00
Martin Braun
9423073527 Merge branch 'maint' 2016-03-11 09:46:29 -08:00
Martin Braun
ccc8acb743 Added <cstddef> includes to support more platforms 2016-03-08 11:22:36 -08:00
Ashish Chaudhari
261ae74f8e dboards: Added APIs to get RX and TX frontend names 2016-02-26 14:36:26 -08:00
Ashish Chaudhari
6db9ac785c dboards: Added ability to register a per-dboard container class
- The typical dboard classes are actually "subdev" classes i.e.
  there is one instance per dboard subdev (front-end). This makes
  it hard to implement shared functionality between multiple
  front-ends.
- This changes adds the ability to create a container class which
  is created per group of subdevs and each subdev gets a pointer
  to the container class for cross linkage.
2016-02-26 14:23:40 -08:00
Ashish Chaudhari
c03506fedd dboard: Made dboard class dtors virtual
- Interface and all base classes have virtual destructors
- Wrapped UBX dtor in UHD_SAFE_CALL
2016-02-26 14:23:34 -08:00
Ashish Chaudhari
87d80f55cd usrp: Refactored dboard_iface for all products
- Made dboard_iface an interface! Removed PIMPL
- Added unit "BOTH" to dboard API and expanded GPIO API width to 32
- Removed gpio_debug_mux. No product ever used that
- Refactored gpio_atr cores to work with new dboard_iface
2016-02-16 17:13:11 -08:00
Ashish Chaudhari
b263800437 dboard: Added restricted dboard registration capability
- Moved dboard iface initialization to dboard_manager
- Added a restricted register function. Restricted dboards
  don't expose their control iface in the property tree
2016-02-16 16:19:01 -08:00
Ashish Chaudhari
834acb8b6c prop_tree: Added advanced coercion capability to property
- Added auto and manual coerce modes
- Added set_coerced API for manual coercion
- Added detailed doxy comments describing behavior of property class
2016-02-11 14:36:20 -08:00