aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp_cal_utils.hpp
Commit message (Collapse)AuthorAgeFilesLines
* utils: cal: Remove boost usage from usrp_cal_utils.hppMartin Braun2020-04-021-3/+0
| | | | | There were spurious boost includes left in here after applying 7ad64600f and a1f96194.
* utils: cal: Enable "ignore cal file" option for DC and IQ cal toolsMartin Braun2020-04-021-5/+5
| | | | | | | | | | | The utilities uhd_cal_rx_iq_balance, uhd_cal_tx_iq_balance, and uhd_cal_tx_dc_offset now add the flags to ignore cal files. Otherwise, the utility would load existing cal data before generating new cal data. Note that this is not a huge problem, because the cal coefficients get overwritten during the cal process, but is unnecessary disk I/O. This commit also happens to remove all boost::format uses within usrp_cal_utils.hpp.
* uhd: cal: Use usrp::cal::database instead of CSV filesMartin Braun2020-04-021-24/+11
| | | | | | | | | Now that we have cal::iq_cal and cal::database, there's no need to manually wrangle CSV files for calibration data. This commit replaces all CSV operations with cal::database calls and uses cal::iq_cal as a container. CSV files can still be read, but are considered deprecated.
* utils: cal: Replace property tree accesses with other API callsMartin Braun2020-03-121-43/+35
| | | | | | | | | | The cal utils read the property tree to identify the daughterboard information (serial, type, etc.). The paths for properties have changed in UHD 4.0, causing these utilities to fail. Instead of conditionally parsing the property tree, this commit changes the utilities such that dictionaries are pulled out of the multi_usrp object, which work regardless of the device type.
* utils/C API: Fix property tree accessMartin Braun2020-03-121-3/+3
| | | | | | | | | | The introduction of multi_usrp_rfnoc caused multi_usrp::get_device()->get_tree() to segfault for gen3 devices. In defcb174, we introduced a fix for this (multi_usrp::get_tree()) but we didn't apply it to internal utilities. That means the uhd_cal_* utilties were broken, along with certain sections of the C API, and the latency test suite. This fixes the segfault issue.
* cal_utils: fixup typoBrent Stapleton2020-01-091-1/+1
|
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-140/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying formatting changes to all .cpp and .hpp files in the following directories: ``` find host/examples/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/tests/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/utils/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find mpm/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Also formatted host/include/, except Cpp03 was used as a the language standard instead of Cpp11. ``` sed -i 's/ Cpp11/ Cpp03/g' .clang-format find host/include/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Formatting style was designated by the .clang-format file.
* uhd: update cal utilities to support rhodiumMark Meserve2019-01-091-3/+6
|
* utils: Factor wait_for_lo_lock() out of cal utilsMartin Braun2018-08-291-0/+16
|
* cal_utils: logic to handle eventual U's during calibrationNicolas Cuervo2018-04-181-0/+20
| | | | | For every frequency point, the cal utils will detect underruns and retry a calibration measurement up to 10 times before failing.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* uhd: Removed drivers for E100/E110Martin Braun2017-09-291-5/+0
| | | | The E1x0 series is still supported on the 3.9 LTS branch.
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-3/+2
|
* uhd: Fixed several type-cast related warnings for naggy compilersMartin Braun2015-03-111-1/+1
|
* UBX: Add UBX Supportmichael-west2015-01-221-2/+4
|
* UHD: Fixes for dboard calibration utilities.michael-west2015-01-161-73/+158
|
* Merge branch 'origin/uhd/cal_tools_subdev_B'Ben Hilburn2014-04-101-13/+47
|\ | | | | | | Fixing issue with subdev selection in cal tools.
| * uhd: Fixed bug in cal tools that would always use A-side settings, also some ↵Martin Braun2014-04-101-13/+47
| | | | | | | | refactoring
* | uhd: Added nicer error reporting to cal toolsMartin Braun2014-04-101-2/+2
|/
* utils: added subdev selection to cal toolsMartin Braun2014-03-101-10/+21
|
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-1/+1
|
* cbx: added support for cal utilsJosh Blum2013-07-151-0/+6
|
* Merge branch 'maint34' into maintNicholas Corgan2013-03-181-1/+1
|\
| * cal: fixed typo that selects correct RX front-end in cal utils header (typo ↵Balint Seeber2013-03-181-1/+1
| | | | | | | | from copy-pasta still selected TX front-end)
* | utils: cal apps immediately fail if dboard has no serial instead of after ↵Nicholas Corgan2012-11-161-1/+27
| | | | | | | | test runs
* | cal: fix for else/ifs in uhd cal utilsJosh Blum2012-06-281-4/+4
| |
* | uhd: boost RX gain for RFX calibrationJosh Blum2012-06-221-1/+1
| |
* | RFX: added support for calibration utilsJosh Blum2012-06-121-3/+15
|/ | | | | Special CAL RX antenna rule: keep mixer enabled to reduce transients. 0 dB gains settings for RX and TX to deal with RFX sensitivity range.
* uhd: rev iq correction numbers formatJosh Blum2012-03-141-1/+1
|
* uhd: tweaks to calibration utilitiesJosh Blum2011-11-231-22/+14
|
* uhd: fixed mboard detection checks to the cal utilsJosh Blum2011-11-181-2/+2
|
* e100: added self-cal support with minor speedupsJosh Blum2011-11-161-14/+22
|
* uhd: more common code in cal utilsJosh Blum2011-11-151-2/+51
|
* uhd: support for applying cal corrections B100Josh Blum2011-11-151-1/+1
|
* uhd: added freq options and common gain setterJosh Blum2011-11-151-1/+26
|
* uhd: different interp methods for IQ vs DCJosh Blum2011-11-141-1/+1
|
* uhd: added tx dc offset calibration + tweaksJosh Blum2011-11-141-5/+9
|
* uhd: share more common code in cal utilsJosh Blum2011-11-111-0/+54
|
* uhd: created rx IQ imbalance app to parallel txJosh Blum2011-11-111-0/+85