Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uhd: cal: Use usrp::cal::database instead of CSV files | Martin Braun | 2020-04-02 | 1 | -0/+26 |
| | | | | | | | | | 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. | ||||
* | uhd: paths: Add get_cal_data_path() API call | Martin Braun | 2020-03-26 | 1 | -0/+19 |
| | | | | This points to the location where cal data is stored. | ||||
* | uhd: Apply clang-format against all .cpp and .hpp files in host/ | Martin Braun | 2020-03-03 | 1 | -108/+151 |
| | | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. | ||||
* | lib: utils: Don't use hard-coded path constants | Ryan Volz | 2020-02-07 | 1 | -2/+24 |
| | | | | | | | | | | | | | This replaces the package path constant with a runtime library path lookup. The package path is taken to be the parent directory of the library directory. When boost >= 1.61 is not available, this maintains the current behavior of using CMake to set path contants. Runtime path determination is preferable for making a relocatable library so that it is not necessary to do string substitution on relocated binaries (as with, for example, building a conda package). | ||||
* | uhd: Replace all occurrences of boost::bind with std::bind | Martin Braun | 2019-11-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Note: Replacing everything with a lambda would be even better, but that can't be easily scripted so we'll do this as a first step to reduce the Boost footprint. This also removes occurences of #include <boost/bind.hpp>, and makes sure all usages of std::bind have an #include <functional>. clang-format wasn't always applied to minimize the changeset in this commit, however, it was applied to the blocks of #includes. Due to conflicts with other Boost libraries, the placeholders _1, _2, etc. could not be directly used, but had to be explicitly called out (as std::placeholders::_1, etc.). This makes the use of std::bind even uglier, which serves as another reminder that using std::bind (and even more so, boost::bind) should be avoided. nirio/rpc/rpc_client.cpp still contains a reference to boost::bind. It was not possible to remove it by simply doing a search and replace, so it will be removed in a separate commit. | ||||
* | uhd: Replace boost::regex with std::regex | Martin Braun | 2019-11-26 | 1 | -5/+5 |
| | | | | | | | | boost::regex was a requirement until the minimum version of gcc was increased. Since it is at version 5.3 now, using Boost.Regex is no longer necessary. This change is a pure search-and-replace; Boost and std versions of regex are compatible and use the same syntax. | ||||
* | lib: Add path_expandvars() internal API call | Martin Braun | 2018-02-20 | 1 | -0/+2 |
| | |||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 1 | -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 Braun | 2017-12-22 | 1 | -12/+1 |
| | |||||
* | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 1 | -5/+4 |
| | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development. | ||||
* | Merge branch 'maint' | Ashish Chaudhari | 2016-02-18 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp host/lib/usrp/dboard/db_ubx.cpp | ||||
| * | Rectified the usage of UHD_IMAGES_DIR_WINREG_KEY in search paths. | vkakade | 2016-02-11 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'maint' | Martin Braun | 2016-01-21 | 1 | -6/+2 |
|\| | |||||
| * | uhd: add CMake flag for the Windows registry key to specify UHD images directory | Brooks Prumo | 2016-01-21 | 1 | -6/+2 |
| | | |||||
* | | cmake: Proper selection of files for ENABLE_X300 | Martin Braun | 2015-10-26 | 1 | -1/+0 |
|/ | |||||
* | paths: consistency in usage of string parameters | Nicholas Corgan | 2015-08-12 | 1 | -3/+3 |
| | |||||
* | Fixed minor warnings | Nicholas Corgan | 2015-07-24 | 1 | -2/+4 |
| | |||||
* | uhd: Added args arg to print_utility_warning | Martin Braun | 2015-04-30 | 1 | -3/+3 |
| | |||||
* | Merge branch 'bhilburn/uhdcalibpath' into maint | Ashish Chaudhari | 2015-02-11 | 1 | -4/+7 |
|\ | |||||
| * | Creating the $UHD_CONFIG_DIR env var, here used for custom cal data storage. | Ben Hilburn | 2015-02-11 | 1 | -1/+1 |
| | | | | | | | | This is a renaming of the previously created $UHDCALIBPATH. | ||||
| * | uhd::paths - fixing `get_app_path` to use correct `get_env_var` function | Ben Hilburn | 2015-02-10 | 1 | -4/+7 |
| | | | | | | | | | | Also added new enviornment variable, "UHDCALIBPATH", so that users can use something other than system-required environment paths. | ||||
* | | uhd::paths: Fixed empty string in error message | Ben Hilburn | 2015-02-10 | 1 | -0/+1 |
|/ | |||||
* | Merging new UHD_IMAGES_DIR utilities and bug fixes. | Ben Hilburn | 2015-01-27 | 1 | -36/+270 |
| | | | | Also includes NI-USRP Windows Registry Key fixes. | ||||
* | Squashed merge of Coverity fixes. | Ben Hilburn | 2013-11-27 | 1 | -2/+3 |
| | |||||
* | paths: get_module_paths adds share/uhd/modules to the list of applicable paths | Nicholas Corgan | 2013-10-30 | 1 | -0/+1 |
| | |||||
* | utils: fix declaration of "env_path_sep" such that it is always initialized ↵ | Michael Dickens | 2013-10-28 | 1 | -10/+11 |
| | | | | before it is used in the "get_env_paths" function, by moving it from the global scope to inside that function. This change allows UHD_STATIC_BLOCK(load_modules) to work correctly. | ||||
* | uhd: work on moving binaries to lib/uhd | Josh Blum | 2012-11-08 | 1 | -4/+4 |
| | |||||
* | uhd: added uhd::get_pkg_data_path | Josh Blum | 2012-06-05 | 1 | -4/+5 |
| | |||||
* | uhd: used shared get_tmp_path for logging as well | Josh Blum | 2012-05-16 | 1 | -2/+28 |
| | | | | Moved some of the log.cpp tmp paths smarts into paths as well | ||||
* | usrp: basically working iq cal on tx | Josh Blum | 2011-11-10 | 1 | -0/+27 |
| | |||||
* | uhd: removed constants.hpp.in, replaced w/ per source compile defines | Josh Blum | 2011-04-19 | 1 | -1/+0 |
| | |||||
* | uhd: use UHD_PKG_DATA_PATH environment variable to override the one in constants | Josh Blum | 2011-04-19 | 1 | -16/+11 |
| | | | | The installer sets UHD_PKG_DATA_PATH, we can can handle transplanted builds. | ||||
* | uhd: specify the UHD_PKG_DATA_PATH once (since images shipped w/ drivers) | Josh Blum | 2011-04-14 | 1 | -6/+2 |
| | |||||
* | uhd: replaced instanced of std::exception with the uhd exceptions | Josh Blum | 2011-02-24 | 1 | -1/+0 |
| | |||||
* | uhd: fixed maxosx bug, was resizing the transport buffer | Josh Blum | 2011-01-26 | 1 | -0/+1 |
| | | | | | | but it cant be resized on macos and I messed up the code that blocked that behavior reimplemented block in usrp2_impl, seems more correct here | ||||
* | uhd: update copyright dates on host code | Josh Blum | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | uhd: integrated boost split or tokenizer into source files, remove string ↵ | Josh Blum | 2011-01-06 | 1 | -2/+6 |
| | | | | split from algorithms header | ||||
* | uhd: added image utils code to search the images paths for image files | Josh Blum | 2010-08-19 | 1 | -14/+0 |
| | |||||
* | uhd: added the concept of installer path (along with local path) for package ↵ | Josh Blum | 2010-08-16 | 1 | -2/+6 |
| | | | | data | ||||
* | uhd: use cmake to convert the pkg data dir to native system format | Josh Blum | 2010-08-15 | 1 | -2/+2 |
| | |||||
* | uhd: made split string utility function | Josh Blum | 2010-08-12 | 1 | -8/+2 |
| | |||||
* | uhd: avoid segfaults - use CPP macros for paths and dont split empty string | Josh Blum | 2010-08-11 | 1 | -6/+6 |
| | |||||
* | uhd: created library code to handle paths for images and modules | Josh Blum | 2010-08-09 | 1 | -0/+103 |
- read from environment variable paths - utility functions to get paths and search for images - modified load modules to call the utility functions - added private header constants.hpp to contain cmake variables of interest - modified version.cpp to use this constants file |