aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_sbx_common.hpp
Commit message (Collapse)AuthorAgeFilesLines
* host: Update code base using clang-tidyMartin Braun2021-03-041-7/+7
| | | | | | | | | The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-89/+86
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-1/+1
| | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-2/+2
| | | | | | | | | | | | | | | | 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>
* 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
|
* Merge branch 'maint'Martin Braun2017-07-171-3/+26
|\
| * cbx: turn on LO LPF at <2GHz instead of <1.5GHzMark Meserve2017-06-301-3/+26
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-1/+1
|/
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-3/+3
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* dboard: Made dboard class dtors virtualAshish Chaudhari2016-02-261-3/+3
| | | | | - Interface and all base classes have virtual destructors - Wrapped UBX dtor in UHD_SAFE_CALL
* adf435x: Refactored ADF435X control codeAshish Chaudhari2016-02-121-2/+17
| | | | | | - Removed adf435x_common and replaced with a real encapsulated interface - Looks similar to the MAX287X code - Updated all DB classes to use the new common code
* MSVC 2015 compatibilityNicholas Corgan2015-07-301-2/+2
|
* Fix for BUG #683: UHD: Need to factor out MAX287x code for UBX and CBXmichael-west2015-04-101-1/+6
| | | | | - Factored out MAX287x code into common header file - Added necessary code for MAX2871 synchronization.
* Added missing pure virtual destructors to base classesNicholas Corgan2014-09-011-3/+3
|
* 120 MHz daughterboard support, Integer-N tuning, ADF435x code consolidationNicholas Corgan2014-01-241-43/+9
| | | | | | | * Added support for new CBX-120, SBX-120, and WBX-120 daughterboards * Added implementation of Integer-N tuning for all CBX, SBX, and WBX daughterboards * Added --int-n option to examples to show how to use Integer-N tuning API * Removed duplicate ADF4350/ADF4351 code and moved it to common/adf435x_common.cpp
* sbx: bugfix#55 and refactored ADF435X tuning code in the SBX driver.Ashish Chaudhari2013-11-131-0/+28
|
* CBX supportNicholas Corgan2013-06-071-1/+27
|
* Disabling the SBX mixer and baseband amp causes griefJason Abele2012-03-161-1/+1
| | | | | Some ADA4927 / AD5380 combinations do not appreciate being disabled, so lets not disable them
* Fixing TX mixer disable, maxing out attenuation when not in use.Ben Hilburn2012-02-071-4/+4
|
* sbx: fix dboard tuning to cache resultJosh Blum2012-01-051-2/+0
|
* Make TX disable mixer when idle to avoid LO leakageJason Abele2011-12-051-2/+2
|
* Updates to accommodate loopback calibration modeJason Abele2011-11-111-2/+2
| | | | Added CAL antenna to WBX, SBX and RFX
* sbx: bring SBX into the treeJosh Blum2011-11-071-11/+5
|
* sbx: squashed Ben's SBX workJosh Blum2011-11-071-0/+233