Commit graph

698 commits

Author SHA1 Message Date
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
Ashish Chaudhari
27a08ccddc prop_tree: Multiple API enhancements to uhd::property
- Added desired and coerced values and accessors to property
- Added support to register desired subscribers
- set APIs don't reallocate storage for a property value
- Renamed callback method registration APIs
- Registering 2 coercers or publishers for a property will throw
- Registering a coercer and a publisher for the same property will throw
2016-02-11 14:36:20 -08:00
Ashish Chaudhari
0d74d16093 lib: Made sensor_value_t copyable
- Added copy ctor and assignment operator
- Possibly ABI breaking
2016-02-11 14:36:20 -08:00
Ashish Chaudhari
502d952a08 Grab (u)intptr_t from the global namespace
- Boost only added it to it's namespace starting 1.55
2016-02-04 16:50:07 -08:00
Martin Braun
747f5e8bc0 math: Removed now superfluous constants. Removes a lot of compiler warnings 2016-02-04 09:50:49 -08:00
Nicholas Corgan
f4656fcb7b Added uhd_config_info utility 2015-12-30 14:23:05 -08:00
Martin Braun
ab03de3aed uhd: Moving from UHD_INLINE to UHD_FORCE_INLINE for clarity 2015-12-23 13:11:27 -08:00
Nicholas Corgan
fc213724d3 error.h: added missing UHD_API 2015-12-18 10:58:20 -08:00
Nicholas Corgan
4a1cb1f2e9 Use UHD_INLINE macro instead of inline 2015-12-09 13:51:09 -08:00
Martin Braun
9d51413843 docs: Remove some doxygen warnings by minor refactorings 2015-11-11 10:37:26 -08:00
Martin Braun
7d6dad268d docs: Remove some doxygen warnings by minor refactorings 2015-11-05 20:59:22 -06:00
Martin Braun
7f4e6e2f40 cmake: Added missing include (gpio_defs.hpp) 2015-10-16 13:46:29 -07:00
Ashish Chaudhari
6f93ac01b5 Merge branch 'master' into ashish/gpio_atr_redux 2015-10-15 16:19:47 -07:00
Martin Braun
c77ffb3e50 Merge branch 'maint' 2015-10-09 10:03:43 -07:00
Martin Braun
f567b5d818 docs: Removed some Doxygen warnings 2015-10-08 14:03:21 -07:00
Ashish Chaudhari
e4c9656ac2 usrp3: Added new GPIO ATR 3000 core
- Refactored GPIO ATR definitions
- Added new 3000 core with a more efficient API
- Added a separate db_gpio_atr core to control the ATR bus
- Ported b2xx, e3xx and x3xx to the new core
- Minor cleanup
2015-09-29 15:53:43 -07:00
Martin Braun
9401bdbd21 Merge branch 'maint' 2015-09-24 16:22:05 -07:00
Moritz Fischer
fee054dfaf uhd: C API wrapper, fix commit 30f87afcba
The uhd/usrp_clock/usrp_clock.h doesn't get properly installed,
which isn't a big deal if examples are built in tree, but if
someone attempts to build a C application against libuhd,
uhd.h pulls in <uhd/usrp/usrp_clock.h> and fails as follows:

fatal error: uhd/usrp_clock/usrp_clock.h: No such file or directory

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-09-24 13:32:34 -07:00
Martin Braun
cea76f5a18 uhd: Added stdint.hpp 2015-09-23 10:58:48 -07:00
Martin Braun
6464a00015 Merge branch 'maint' 2015-09-01 15:20:42 -07:00
Nicholas Corgan
0ce526f302 Fixed minor warnings
* Unreferenced exceptions in try-catch statements
* Incorrect function documentation
* Unlabelled unused variables
2015-09-01 13:23:19 -07:00
Martin Braun
883db3cf99 Updated version strings on master branch (3.10) 2015-08-31 17:03:03 -07:00
Martin Braun
63a36019b2 Updated version strings + fpga-src for 3.9.0 release 2015-08-18 11:22:11 -07:00
Ashish Chaudhari
3deb5484eb nirio: Changes to kernel proxy to work with RIO 15.0 on linux
- Implemented IOCTL macro for linux and macosx
- Refactored v1 and v2 proxy code
2015-08-14 15:34:20 -07:00
Nicholas Corgan
8d6b63e1e8 C API: added soft register API 2015-08-14 12:30:53 -07:00
Ashish Chaudhari
9353d16391 uhd: Fixes to build with MSVC
- Included list header in soft_reg header
- Fixed typo in x300_impl
2015-08-13 11:53:04 -07:00
Ashish Chaudhari
d745b5cf6d Merge branch 'master' into ashish/register_api 2015-08-12 16:33:26 -07:00
Ashish Chaudhari
094bf76073 soft_reg: Added better inline documentation 2015-08-12 16:30:35 -07:00
Nicholas Corgan
bc9dd05988 C API cleanup, feature additions
* Cleaned up usage of handles vs. handle pointers
* Store global string for last error thrown
* Removed uhd::device_addr_t handle, added std::vector<std::string> handle
2015-08-12 12:19:20 -07:00
Nicholas Corgan
6178184c93 paths: consistency in usage of string parameters 2015-08-12 08:32:01 -07:00
Ashish Chaudhari
32d9478993 uhd: Fixed initialization of members in dirty_tracked 2015-08-11 10:30:41 -07:00
Ashish Chaudhari
dff93a5930 uhd: Added capability defs for register and filter API
- Added UHD_USRP_MULTI_USRP_REGISTER_API
- Added UHD_USRP_MULTI_USRP_FILTER_API
2015-08-11 10:27:27 -07:00
Ashish Chaudhari
b5c8167707 Merge branch 'master' into ashish/register_api 2015-08-10 23:14:20 -07:00
Ashish Chaudhari
16e149fe6f uhd: Added dirty tracking support to soft_register 2015-08-10 22:23:59 -07:00
Ashish Chaudhari
e28a050d42 uhd: Added dirty tracking wrapper class
- Useful for tracking changes to a data type
- dirty_tracked serves as a wrapper for a data type with the changed flag embedded
2015-08-10 22:18:02 -07:00
Nicholas Corgan
f1ebf68829 C API: feature additions, bugfixes
* Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock
* Replaced getopt with public domain implementation
* Minor bugfixes
2015-08-07 11:23:59 -07:00
Nicholas Corgan
30f87afcba uhd: C API wrapper
* multi_usrp, multi_usrp_clock, and associated classes accessible through C
* Added Doxygen documentation explaining structure and API
* Simple RX and TX streaming examples
* Unit tests for different parts of C interface and C++ error conversion
2015-08-06 10:42:23 -07:00
Ashish Chaudhari
cc6853bd47 uhd: Register API enhancements
- Added get_register_info function to get bitwidth and R/W access for a registers
- Better error reporting
2015-08-06 10:23:10 -05:00
Ashish Chaudhari
c7f24e49db uhd: Removed dependency on boost/lockfree 2015-08-05 23:14:54 -05:00
Nicholas Corgan
bb62ab84fd image_loader: force user to specify device
* On utility level, force user to use --args=type=foo
* In each loader, throw an error if args are ambiguous
2015-08-05 13:04:04 -07:00
Martin Braun
c3c9513b9b Merge branch 'maint' 2015-08-05 13:03:23 -07:00
Nicholas Corgan
3dbced2df2 Fixed .ipp include behavior
* Use full include path in public headers, not quotes
* Install .ipp files alongside corresponding .hpp
2015-08-05 09:58:53 -07:00
Ashish Chaudhari
d49ca2cf0f uhd: Added APIs to multi_usrp to read/write device registers
- Added regmap object to soft_register library
- Added a regmap_db object to hold multiple regmaps/dbs
- Multiple soft_register enhancements
2015-08-04 16:09:40 -05:00