aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* mpm: rpc_server: Declare local connection for *all* local IPsMartin Braun2018-02-071-2/+3
| | | | | | Before, it was possible to trick the RPC server in believing a connection was remote when the incoming connection was from a local IP address that was not 127.0.0.1.
* mpm: net: Add get_local_ip_addrs() methodMartin Braun2018-02-071-1/+15
|
* mpm: n310: Removed superfluous importMartin Braun2018-02-071-1/+0
|
* utils: images downloader: default download printBrent Stapleton2018-02-071-3/+5
| | | | | | | | Adding a message at the INFO log level (the default) to tell users that downloads have begun. Also added the filename being downloaded to the progress bars. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpm: Fixup for argument parsing in N310Brent Stapleton2018-02-072-3/+5
| | | | | | | Adding helper function to parse strings to a boolean value. We can then use that function to parse MPM's default_args, and set enable_gps and enable_fp_gpio. This replaces the usages of the Python builtin bool(), which returns True for any non-empty string.
* mpm: n310: bist: Add error_msg for temp bist if no sensores were foundMartin Braun2018-02-071-1/+3
|
* Docs: Update procedure for testing phase synchronizationmichael-west2018-02-041-47/+82
|
* utils: images downloader: adding dry run optionBrent Stapleton2018-02-031-17/+23
| | | | | | Command line argument --dry-run is now available. This runs through the downloader without actually downloading any files or editing the inventory file.
* fixup! usrp3: Changes for Vivado 2017.4Brent Stapleton2018-02-021-4/+4
|
* utils: Fix query_gpsdo_sensors so it works for TCXO on B200michael-west2018-02-011-0/+3
|
* cmake: Re-add requirement for Python requestsBrent Stapleton2018-02-011-5/+5
| | | | Uncommenting a CMake check for the Python module requests.
* lib: Add config_parser classMartin Braun2018-02-015-0/+291
| | | | | | | This class is not publicly exported. It is meant to read config files in the INI format. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* utils: populate_images: update arguments for uhd_images_downloaderAndrew Lynch2018-01-301-15/+1
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpmd: image loader: increased timeoutBrent Stapleton2018-01-292-2/+4
| | | | | | | | -Increased timeout from 10s to 20s. This time is also per component file being updated. For example, when updating the FPGA with new .bit and .dts files, the timeout will be 40s. -Also added log message to let user know their device is updating, not frozen.
* utils: images downloader: forced update of CMake variableBrent Stapleton2018-01-292-5/+16
| | | | | | | | | Moved the uhd_images_downloader.py.in configuration to its own script so that the manifest file is added as a dependency and read into a CMake variable. Reviewed-by: Ashish Chaudhari <ashish@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpm: convert to string explicitly in GPIOBankTrung N Tran2018-01-241-1/+1
|
* usrp3: Changes for Vivado 2017.4Ashish Chaudhari2018-01-246-16/+16
| | | | | | - Bumped compat number for e3xx, n230, x3xx, n3xx - Updated images package for e3xx, n230, x3xx, n3xx - Updated fpga-src submodule
* 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