aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
Commit message (Collapse)AuthorAgeFilesLines
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-305-11/+18
| | | | Replace with std::this_thread::sleep_for().
* utils: fix 30s timeout in query_gpsdo_sensorsTrung N Tran2018-04-301-7/+12
|
* cal_utils: logic to handle eventual U's during calibrationNicolas Cuervo2018-04-184-22/+99
| | | | | For every frequency point, the cal utils will detect underruns and retry a calibration measurement up to 10 times before failing.
* cmake: Improve warning for missing requestsMartin Braun2018-03-281-1/+2
|
* docs: Purged stray references to register_handlerMartin Braun2018-03-191-3/+0
| | | | | This is a no-longer-supported API call from before the logging API restructuring.
* utils: downloader supports multiple RegExsBrent Stapleton2018-03-161-6/+9
| | | | | | | | | | | | uhd_images_downloader now accepts multiple '--types' options, each of which is a RegEx. Targets which match to all of the provided `types` are downloaded. Example usage: `uhd_images_downloader -t n3xx -t fpga` will match the following targets: - n3xx_n310_fpga_default - n3xx_n310_fpga_aurora - n3xx_n300_fpga_default
* utils: Adding option to skip SHA in downloaderBrent Stapleton2018-03-161-7/+12
| | | | | | Targets in the manifest with SHA256 values of '0' will not be verified. This will allow us to skip the verification for certain image packages (ie. the filesystem).
* utils: fixup for downloader SHA256 checkBrent Stapleton2018-03-161-2/+7
| | | | The image package is not unzipped or kept if the SHA256 checksum fails
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-0/+1
| | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* utils: Removed deprecated utilitiesMartin Braun2018-03-055-362/+1
| | | | | | This removes all the tools that have been declared deprecated for a while. No functionality is removed, all utilities have a separate equivalent, e.g., with uhd_image_loader.
* mpm: uhd: RPC server reports MPM version, uhd_usrp_probe reads itMartin Braun2018-03-021-0/+3
|
* utils: Skip progress bars for non-tty outputsMartin Braun2018-03-011-1/+5
|
* utils: Reenable UHD_IMAGES_DIR env var for uhd_images_downloaderMartin Braun2018-03-011-3/+11
| | | | | | This was forgotten in the transition to the new downloader. The command line options --install-location will still override the env variable if it exists.
* utils: Increase verbosity on uhd_images_downloaderMartin Braun2018-03-011-6/+4
|
* cmake: force cmake to regenerate uhd_images_downloader.pyTrung N Tran2018-02-271-0/+8
| | | | ... when manifest.txt changed.
* Revert "utils: images downloader: forced update of CMake variable"Trung N Tran2018-02-271-10/+5
| | | | This reverts commit cf1bf696649c958c53d7f4cf0a280242c254e4be.
* examples: Fix some minor compiler warningsMartin Braun2018-02-192-3/+3
| | | | All warnings reported by MSVC. Mostly related to narrowing conversions.
* uhd: Update license headersMartin Braun2018-02-1935-32/+65
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* utils: images downloader: adding SHA256 supportBrent Stapleton2018-02-151-6/+15
| | | | | Adding SHA256 checking for downloaded image archives. The expected SHA is read from the manifest, and checked after the download completes.
* utils: images downloader: adding --keep supportBrent Stapleton2018-02-151-4/+6
| | | | | When users supply the --keep argument, image archives are saved in the images directory alongside the image files.
* utils: Use find_all in uhd_find_devicesMartin Braun2018-02-071-4/+19
| | | | | | This enables finding all N310 devices, even if they're not available Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* 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>
* 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.
* utils: Fix query_gpsdo_sensors so it works for TCXO on B200michael-west2018-02-011-0/+3
|
* utils: images downloader: forced update of CMake variableBrent Stapleton2018-01-291-5/+10
| | | | | | | | | 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>
* utils: refactor uhd_images_downloaderBrent Stapleton2018-01-232-333/+325
| | | | | | | | | | | | | | | | | 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>
* Move all license headers to SPDX format.Martin Braun2017-12-2235-420/+35
|
* uhd: Removed drivers for E100/E110Martin Braun2017-09-291-5/+0
| | | | The E1x0 series is still supported on the 3.9 LTS branch.
* convert: Add sc12-sc16 convertersTom Tsou2017-07-181-0/+24
| | | | | | | | | | | | | | | | | Create missing sc12-sc16 and sc16-sc12 type converters. To avoid replicating the full sc12 converter class object, overload the converter calls with C++11 std::enable_if metafunctions. When used with std::is_floating and std::is_integral templates, this allow a single template interface with compile time function selection and static type checking. Note the below std::enable_if interface is confusing, but quite effective in this case. typename enable_if<is_floating_point<type>::value>::type* = NULL Fixes: #966 Related: #967, #1721
* Merge branch 'maint'Martin Braun2017-07-171-0/+14
|\
| * utils: Added warnings and checks to images downloaderDerek Kozel2017-07-171-0/+14
| |
* | Utils: Added X3xx support for reading FPGA imagesPaul David2017-06-301-9/+18
| |
* | utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-295-5/+5
| |
* | uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-292-1/+1
| |
* | Merge branch 'maint'Martin Braun2017-06-271-2/+2
|\|
| * Fix: field was bool, but needs to take values -1;1Marcus Müller2017-06-271-2/+2
| |
| * coverity: fix various minor issuesAndrej Rode2017-04-251-1/+1
| |
* | utils: uhd_usrp_probe is yet more forgivingMartin Braun2017-05-041-15/+22
| |
* | utils: Updated uhd_usrp_probe to be more lenient with missing propertiesMartin Braun2017-05-031-10/+16
| |
* | utils: Made EEPROM readout optional in uhd_usrp_probeMartin Braun2017-04-131-4/+8
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-207-56/+29
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-103-20/+19
| | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* | utils: Enable printing of FPGA hash in uhd_usrp_probeMartin Braun2017-02-101-0/+3
| |
* | Merge branch 'maint'Martin Braun2017-01-301-42/+57
|\|
| * GPS: Improvements to query_gpsdo_sensormichael-west2017-01-301-42/+57
| | | | | | | | | | | | | | - Reordered operations to make sure setting clock and time sources is first - Reduced delay waiting for ref lock - Added wait for GPSDO warm up - Made warning messages in gps_ctrl function into log messages to prevent unnecessary output
* | made fx2_init_eeprom capable of using built-in imagesMarcus Müller2017-01-261-7/+46
| |
* | added generated headers to host tree, to enable built-in imagesMarcus Müller2017-01-262-0/+30
| |
* | Merge branch 'maint'Martin Braun2017-01-171-2/+2
|\|
| * utils: tests: cast RAND_MAX to double before divisionAndrej Rode2017-01-121-2/+2
| |
| * usrp2: fixes according to coverity reportsAndrej Rode2017-01-121-1/+1
| |