aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
* fixup! rfnoc: ctrl_iface cleanupmichael-west2018-04-302-2/+1
|
* ad9361: Fix bandwidth warnings and rangesVidush2018-04-275-33/+80
| | | | | | | Allows full bandwidth range to user. Reviewed-by: Michael West <michael.west@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com>
* log: Allow disabling of fastpath msgs at runtimeMartin Braun2018-04-261-13/+54
| | | | | | - Fixes an issue with compile time disabling as well - An UHD_LOG_FASTPATH_DISABLE=1 env var will make it that O/U/S/D won't be printed
* log: Add method for local generation of messages in log.cppMartin Braun2018-04-261-10/+18
|
* ad936x: De-boostify ad936x_manager, minor cleanupMartin Braun2018-04-265-57/+94
| | | | | | | - Remove all use of boost::bind and boost::function - Demote some log messages to DEBUG - Change some formatting to match coding guidelines - B2xx/E310: Match changes in loopback function
* logging: Remove dead code from log.cppVidush2018-04-261-1/+0
|
* lib: update get_range of gain_groupTrung N Tran2018-04-181-2/+5
| | | | Need to skip zero gain step
* lib: Unbreak build against Boost 1.67Jan Beich2018-04-181-1/+1
| | | | | Some uses of boost::posix_time were incorrect and would cause compiler errors on Boost 1.67.
* niusrprio: Move a const from header to implMartin Braun2018-04-181-0/+5
| | | | This avoids having to redeclare the static const to avoid linker errors.
* cores: rx_vita_core_3000: Replace boost::this_thread::sleep()Martin Braun2018-04-171-2/+3
| | | | Use std::this_thread::sleep_for() instead.
* gps_ctrl: Replace boost::this_thread::sleep()Martin Braun2018-04-171-26/+32
| | | | Use std::this_thread::sleep_for() instead.
* x300: Replace all references to boost::this_thread::sleep()Martin Braun2018-04-175-26/+38
| | | | Use std::this_thread::sleep_for() instead.
* niusrprio: Refactor niusrprio_session, move out static constsMartin Braun2018-04-171-3/+7
| | | | | | Static const attributes were causing linker issues the way there were being used, but they were only used in niusrprio_session.cpp and thus could be factored out.
* b100: Remove some references to boost::assign and Boost time objectsMartin Braun2018-04-171-16/+23
|
* adf4002: Fixed register programming for power down bitSugandha Gupta2018-04-121-1/+1
| | | | | The bit shift for power down is one off with respect to the ADF4001/ADF4002 data sheet
* logging: Fix UHD_LOG_FILE cmake varMartin Braun2018-04-101-41/+54
| | | | | | | | | - Fixes: cmake -DUHD_LOG_FILE wasn't respected - Fixes: UHD_LOG_FILE and UHD_FILE_LOG_LEVEL had to both be set for either to take effect - Fixes: Use of unnecessary boost::make_shared<> - Also factored out setting up console- and file logger into their own locations in an attempt to improve readability
* x300: handle bad weak_ptr during pcie discoveryMark Meserve2018-04-101-1/+9
|
* docs: Clarify that the magnesium/ dboard driver is used for N310/N300Martin Braun2018-04-101-1/+7
|
* fixup! mg: fix compiler warningsMartin Braun2018-04-091-10/+10
|
* lib: move atomic.hpp and system_time.hpp to uhdlibMartin Braun2018-04-0611-11/+11
|
* fixup! legacy: fix legacy compat to work with 2TX radio blockmichael-west2018-04-061-23/+9
|
* mg: fix compiler warningsmichael-west2018-04-052-2/+2
|
* multi_usrp: Add API call to query the clock rate rangeMartin Braun2018-04-031-0/+17
|
* b200: Add clock rate rangeMartin Braun2018-04-031-0/+5
|
* mpmd: tighten reclaiming time.Trung N Tran2018-04-021-2/+3
| | | | | Reclaming interval was exec_time(claim+dump_logs)+MPMD_RECLAIM_INTERNVAL; this change will MAX(exec_time(claim+dump_logs),MPM_RECLAIM_INTERVAL)
* lib: adding device_addr_t constructor from mapBrent Stapleton2018-04-021-0/+6
| | | | | Adding constructor for device_addr_t that takes a map<string, string> as an argument.
* fixup! rfnoc: Update logging in some blocksTrung N Tran2018-03-301-1/+1
|
* UBX: Change antenna functions to coercers on antenna/value propertiesmichael-west2018-03-301-4/+7
|
* dboard eeprom: Demote byte sum message to TRACEMartin Braun2018-03-301-2/+6
|
* rfnoc: Update logging in some blocksMartin Braun2018-03-306-56/+87
| | | | | | | | | | Updated the following blocks and components: Radio, DmaFIFO, block_ctrl_base and node_ctrl_base, blockdef_xml_impl, device3_impl. No functional changes. - Demoted some log messages - Consistent log style (use unique_id()) - Some adaptation of coding style where close to log statements
* x300: Update loggingMartin Braun2018-03-301-37/+37
| | | | | | | | | No functional changes. - Demote some messages to DEBUG or TRACE - Use consistent logging styles - In some cases, adapted code to coding style when near logging statements
* cores: Demote some log messages in time coreMartin Braun2018-03-301-2/+6
|
* transport: Demote UDP socket buffer size log message to TRACEMartin Braun2018-03-301-1/+1
| | | | | Note: When socket buffers are incorrectly size, a WARNING is still printed.
* multi_usrp: Refactor gpio_attr methodsMartin Braun2018-03-301-117/+164
| | | | | | | | | - Fix indentation issues - Fix inconsistent formatting - Fix typos in user-facing messages - Fix inconsistent exception messages - Apply coding guideline formatting rules - Remove some code duplication
* mpmd: Fixed MPM marking wrong device as reachableBrent Stapleton2018-03-301-1/+12
| | | | | | | | During MPMd find routine, added a check when connecting to a CHDR interface to make sure we're talking to the correct device. Without this check MPMd would sometimes incorrectly mark a device as reachable because they shared an addr (ie. 192.168.10.2 existed on multiple devices).
* mpmd: Provide list of MPM devices to fail fast on findMartin Braun2018-03-292-1/+34
| | | | | | | | With this fix, uhd_find_devices --args type=b200, for example, will not stall in this function. Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* rfnoc radio: get_rx_stream resets sequence numBrent Stapleton2018-03-291-0/+5
| | | | | | Reset the RX sequence number whenever an RX streamer is created. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* x300: Refactor clock and time source prop tree setupMartin Braun2018-03-291-12/+27
| | | | | | - Remove boost::bind - Remove boost::assign::list_of - No functional changes
* x300: Properly coerce master clock rate (tick rate)Martin Braun2018-03-291-4/+22
| | | | | | | | - A call to multi_usrp::set_master_clock_rate() on the X3x0 will now properly coerce the value, and show a warning when it had to coerce. It will not throw an exception. - Did a minirefactoring of the tick_rate property setup and removed two more boost::binds.
* usrp2: Modify trace log statement in ad9777 controlMartin Braun2018-03-281-1/+1
| | | | Reviewed-by: Derek Kozek <derek.kozel@ettus.com>
* usrp2: Re-add ability to modulate in the DACMartin Braun2018-03-283-7/+85
| | | | | | | | | | | This partially reverts b29e80cc. That commit fixed a bug with numerical overflows, but also removed the ability to tune using the DAC, effectively reducing the DSP tuning range. This commit allows to tune within +/- 200 MHz using a combination of both the DAC and the DSP tuning in the FPGA. Reviewed-by: Derek Kozek <derek.kozel@ettus.com>
* lib: Fixing config file path for some Windows buildsAndrew Lynch2018-03-282-6/+1
|
* fixup! rfnoc radio: Improve warning for too many samples requestedMartin Braun2018-03-271-1/+2
|
* rfnoc radio: Improve warning for too many samples requestedMartin Braun2018-03-271-1/+11
| | | | | | | | | | When doing a NUM_SAMPS_AND_DONE stream command, there is a limit to the number of samples that can be requested (as of now, there's 28 bits for this counter). When the number was exceeded, the previous error message was not helpful. Note that the DDC block will multiply the number of requested samples by the decimation rate. This means the number of samples requested from the radio is higher than the number of samples requested by the application.
* DDC/DUC: switch CORDIC -> DDS for all relevant variable namesRyan Marlow2018-03-226-34/+30
| | | | - Bump compat number for DDC/DUC to 2.0
* lib: add auto_timer profiling utilityPatrick Sisterhen2018-03-161-0/+137
| | | | | Note: This tool is not considered done, complete, unchangeable, or anything other than experimental.
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-168-299/+218
| | | | | | | | | | - ctrl_iface is now longer a wb_iface. All it can do now is send command packets, and receive responses to those. - ctrl_iface does not store command time or tick rate - wb_iface_adapter is no longer a set of functors, but a wrapper around ctrl_iface. Command times are stored once, in the block. - DMA FIFO and radio block controllers have an easier time getting access to a timed_wb_iface
* rfnoc/x300: Make sure peek32() and peek64() are called with actual addressesMartin Braun2018-03-166-22/+26
| | | | Before, we were calling peeks with the number of the readback register.
* fixup! usrp: Add set_gpio_attr overload that use stringTrung N Tran2018-03-141-2/+2
| | | | | set_gpio_attr did not return after completion. This leads to wrong error reporting.
* lib: Add include guards for xports.hppMartin Braun2018-03-141-0/+5
|