Commit graph

18 commits

Author SHA1 Message Date
michael-west
ab9f4eab72 lib: Remove recursive locks in apply_corrections
There were locks in the apply_tx/rx_fe_corrections() methods that were
acquired before calling methods that re-acquired the locks.  The mutexes
were not recursive, so it caused applications to lock up.  The locks
are unnecessary in the top level methods, so they are being removed.

Signed-off-by: michael-west <michael.west@ettus.com>
2020-09-04 08:48:25 -07:00
Martin Braun
a1f9619469 uhd: cal: Use usrp::cal::database instead of CSV files
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.
2020-04-02 11:55:17 -05:00
Martin Braun
876d4150aa uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
2020-03-03 08:51:32 -06:00
Martin Braun
c256b9df65 x300/mpmd: Port all RFNoC devices to the new RFNoC framework
Co-Authored-By: Alex Williams <alex.williams@ni.com>
Co-Authored-By: Sugandha Gupta <sugandha.gupta@ettus.com>
Co-Authored-By: Brent Stapleton <brent.stapleton@ettus.com>
Co-Authored-By: Ciro Nishiguchi <ciro.nishiguchi@ni.com>
2019-11-26 12:16:25 -08:00
Martin Braun
6652eb4a03 uhd: Move internal headers to uhdlib/
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>
2018-03-14 15:17:44 -07:00
Martin Braun
ae5211d71d uhd: Update license headers
All copyright is now attributed to "Ettus Research, a National
Instruments company".

SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Andrej Rode
26cc20847c uhd: replace BOOST_FOREACH with C++11 range-based for loop
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Nicolas Cuervo
00c70d7155 Frontend corrections: Provide new function for RFNoC-based radio 2016-08-11 15:32:35 -07:00
Josh Blum
05a06254a7 cal: dont interpolate if freq is the same +/- epsilon 2012-08-29 15:14:11 -07:00
Josh Blum
8a33423ad6 uhd: rev iq correction numbers format 2012-03-14 00:02:44 -07:00
Josh Blum
317bff29a5 uhd: added freq options and common gain setter 2011-11-15 14:54:18 -08:00
Josh Blum
ff2e730a0d uhd: different interp methods for IQ vs DC 2011-11-14 17:32:46 -08:00
Josh Blum
5a77062d33 uhd: added tx dc offset calibration + tweaks 2011-11-14 15:58:49 -08:00
Josh Blum
88e02e0d55 uhd: created rx IQ imbalance app to parallel tx 2011-11-11 16:06:50 -08:00
Josh Blum
3e4f64188b uhd: lots of tweaks for calibration utility 2011-11-11 12:28:08 -08:00
Josh Blum
8459432067 usrp: basically working iq cal on tx 2011-11-10 20:22:54 -08:00