aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Changed mpm_shell to support scripted useDerek Kozel2018-01-241-14/+16
|
* fixup! mpm: Log timeouts during API calls, reset timer on claimed callsMartin Braun2018-01-232-1/+8
|
* utils: refactor uhd_images_downloaderBrent Stapleton2018-01-234-333/+370
| | | | | | | | | | | | | | | | | Changing structure of the files.ettus.com images directory, and updating uhd_images_downloader correspondingly. The images downloader now downloads a number of smaller archives of images, instead of one large archive containing all of our images. Furthermore, the images downloader maintains an inventory of currently installed images, so that images are not redownloaded unnecessarily. When called with no arguments, behavior should not change. CMake variables are used to populate a number of fields in the images downloader, including the contents of the manifest file. Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* mpm: mg: Remove superfluous importMartin Braun2018-01-231-1/+1
|
* docs: Add explanation for init_cals and tracking_cals keys on N310Martin Braun2018-01-231-2/+60
|
* mg: ease the usage of init and tracking calTrung N Tran2018-01-231-9/+94
| | | | | | | | Using string expression instead of passing in a total hex value. Now user can passed in for example: init_cals=DEFAULT or init_cals=BASIC|TX_QEC_INIT Reviewed-by: Martin Braun <martin.braun@ettus.com>
* logging: Minor refactoring, skip empty log messagesMartin Braun2018-01-231-75/+102
| | | | | | | Empty log messages are now skipped for faster processing. The 'terminating' log message is now also empty (and thus skipped). Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* fixup! rpclib: fix use of "boost::asio::strand" -> ↵Martin Braun2018-01-221-1/+2
| | | | "boost::asio::io_service::strand"
* cmake: fix test library path ordering to be internal then externalMichael Dickens2018-01-221-2/+2
| | | | | | | | | | Always include local-to-build library paths first, then external ones. If a prior version of UHD is installed in the same directly as Boost (as is typical on *nix* OSs such as macOS and Linux), then it will be picked up before the internal-to-build version and some tests will fail. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpm: Log timeouts during API calls, reset timer on claimed callsMartin Braun2018-01-221-0/+7
| | | | Reviewed-by: Trung Tran <trung.tran@ettus.com>
* rpclib: fix use of "boost::asio::strand" -> "boost::asio::io_service::strand"Michael Dickens2018-01-223-3/+3
| | | | | | | | | The former was marked as deprecated numerous Boost versions ago and finally was actually removed & replaced in 1.66.0 with a new one with a template API. The version in rpclib need to be updated, and Boost docs say to use the latter. Moving to this usage takes care of this issue. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpm: ad937x: RefactorMartin Braun2018-01-224-149/+312
| | | | | | - No functional changes - const-ify parameters and local variables where appropriate - Fix long lines and inconsistent formatting
* mpm: n310: Fix setting time source depending on clock sourceMartin Braun2018-01-221-7/+4
| | | | | | | | - When clock source is set, but time source is not, still set time source to guarantee correct ref clock freq - Enable unconditional setting of time source Reviewed-by: Daniel Jepson <daniel.jepson@ettus.com>
* fixup! mpm: Harmonize imports, tidy + sort modulesMartin Braun2018-01-221-1/+1
| | | | - Fixes n3xx_bist, which failed on a an import
* n310: removed orphaned commentsBrent Stapleton2018-01-191-4/+0
|
* n310: Update the dboard UIO usageBrent Stapleton2018-01-191-25/+22
| | | | | Updating the UIO usage in the debug functions in magnesium.py. Somehow this didn't get updated before.
* mpm: Demoting watchdog related log message to DEBUGMartin Braun2018-01-191-1/+2
|
* Docs: Update channel numbernatetemple2018-01-191-1/+1
|
* Docs: Typo fixesnatetemple2018-01-192-4/+4
|
* mpm: Update unclaim timeout logicMartin Braun2018-01-181-9/+30
| | | | | | | - Allow configurable timeout values from the command line - Add flag to disable timeouts for long calls; this fixes the case where reclaimers re-initialize a disabled timer - Add methods for timeout event for better tracking
* mg: Remove superfluous DEBUG message, minor formattingMartin Braun2018-01-181-10/+12
| | | | Fixed indents to 4 spaces in get_?x_lo_source().
* logging: Fix version print at top of every UHD sessionMartin Braun2018-01-181-17/+21
|
* uhdlib: Update constrained_device_args_tMartin Braun2018-01-184-31/+170
| | | | | | | - Allow enums to be non-consecutive - Move to uhdlib/ - Add unit tests - Updated N230 use of constrained_device_args_t
* mpm: mg: Demote notice on LMK not being locked b/c of lacking initMartin Braun2018-01-181-1/+1
|
* cmake: Check for minimum MSVC, bump MSVC min version to 14.0Martin Braun2018-01-172-8/+16
| | | | | | | - MSVC 14.0 is required to support a lot of the new C++11 features required for rpclib, among others. - Moved Boost minimum version variable to same spot as other minimum versions
* mpm: Demoted some log statements from INFO to TRACE or DEBUGMartin Braun2018-01-172-3/+2
|
* mpm: Refactored RPC serverMartin Braun2018-01-171-66/+80
| | | | | | - No functional changes - Grouped methods by function - Improved some comments
* mg: Fix various compiler warningsMartin Braun2018-01-163-47/+48
| | | | | | - Made const constexpr where sensible - Moved non-global constants to their local scope - Changed const char * to const char[] where they should
* mg: Fix missing return value for half-dB stepsMartin Braun2018-01-161-0/+1
|
* multi_usrp: Fix compiler warningsMartin Braun2018-01-161-22/+41
| | | | Also elevated a UHD_LOG_ERROR() to an exception.
* docs: Fix Doxygen warningsMartin Braun2018-01-161-3/+3
|
* docs: Misc amendments to N3xx manual pageMartin Braun2018-01-162-54/+270
|
* mpm: n310: Bump compat number to 2.0Martin Braun2018-01-162-1/+1
| | | | - Updated fpga-src submodule pointer
* mpm/mpmd: Report device state using get_init_status() and verifyMartin Braun2018-01-162-1/+16
| | | | | | When trying to run init(), mpmd will first query the initialization status of the MPM device. If it is found to be in a bad state, it will not go forward with initialization, but instead print the error message.
* mpm: n310: Refactor N3xx periph managerMartin Braun2018-01-161-20/+32
| | | | | | | - Sort methods by functional groups - Reorder init from less likely to fail to more likely (this enables the LINK LED on claim for when FPGA fails to initialize, e.g. on compat errors)
* mpm: Refactor PeriphManager classesMartin Braun2018-01-162-39/+72
| | | | | - Sort methods by functional groups - Removed some cruft
* mpm: add init clock and time source from argsTrung N Tran2018-01-161-0/+4
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* X300: Reduce CPU usage during TX by restoring timeout when getting flow ↵michael-west2018-01-161-3/+1
| | | | control packets
* gr-usrptest: Added copy of args to prevent mangling that resulted in a ↵michael-west2018-01-161-0/+2
| | | | parser error
* fixup! UBX: Add implementation of TDD xcvr mode and force TX PA on in TDD ↵michael-west2018-01-161-1/+7
| | | | mode to reduce transient at start of transmission
* mpm: Enable systemd watchdog and update it from MPMMartin Braun2018-01-155-7/+36
| | | | | | | | - Updated systemd service file - Added health status flag in shared data object - Added thread in RPC process to update watchdog Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: sys_utils: Add watchdog moduleMartin Braun2018-01-152-0/+64
| | | | Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
* examples: Fix bandwidth unit (MHz vs. Hz) in tx_samples_from_fileMartin Braun2018-01-151-2/+6
|
* mpm: n310: Check all periphs for initialization statusMartin Braun2018-01-122-7/+22
|
* mpm: Add EEPROM utilities for N310Martin Braun2018-01-1212-4/+960
| | | | Actually-written-by: Moritz Fischer <moritz.fischer@ettus.com>
* mg: add clip function on setting individual gain.Trung Tran2018-01-121-8/+19
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* usrp: add multiusrp api for gain profile.Trung N Tran2018-01-122-0/+128
|
* mg: add facility that handle individual gainTrung N Tran2018-01-125-12/+348
| | | | | | | -Create name for each gain/att element -Create property tree entry for each gain and their handlers. -Create gain profile that control how gain distributed. Right now, it is either "default" or "manual".
* mpm: mg: Pass deserializer_lane_xbar to ad937x_configTrung N Tran2018-01-129-10/+25
| | | | | | | | | Slot A and Slot B are different in how the JESD lanes are connected. We now pass in different deserializer_lane_xbar config values for each slot. Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Daniel Jepson <daniel.jepson@ettus.com> Reviewed-by: Mark Meserve <mark.meserve@ni.com>
* examples: Add example to query and list all sensorsMartin Braun2018-01-122-0/+127
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>