aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-1426-2917/+15
| | | | | | | | | | | | | | | | 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: Moved get_system_time outside of public APIMartin Braun2018-03-051-2/+4
| | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space.
* uhd: Update license headersMartin Braun2018-02-1932-31/+59
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* uhdlib: Update constrained_device_args_tMartin Braun2018-01-181-271/+0
| | | | | | | - Allow enums to be non-consecutive - Move to uhdlib/ - Add unit tests - Updated N230 use of constrained_device_args_t
* Move all headers to SPDX format, harmonize license headersMartin Braun2017-12-222-26/+4
|
* mpm: LMK code now throws on incorrect chip IDMartin Braun2017-12-222-4/+14
|
* mpm: Fixed a plethora of SPI-related issuesMartin Braun2017-12-222-9/+17
|
* lmk: Update LMK04828 driver with values for MagnesiumDerek Kozel2017-12-222-49/+69
|
* Initial commit for N3xx development.Martin Braun2017-12-223-0/+127
| | | | | | | | | | | | | | - Creates mpm/ subdirectory - First pass at hardware daemon/MPM - New code for LMK04828, AD9371 - spidev integration Contributions by: Martin Braun <martin.braun@ettus.com> Derek Kozel <derek.kozel@ettus.com> Mark Meserve <mark.meserve@ni.com> Andrej Rode <andrej.rode@ettus.com>
* Clean up build processMartin Braun2017-12-221-4/+9
| | | | | | - Removed stale files (i2c_core_100, spi_core_100) - Made more compilation condiational; disabling some devices will disable dependencies as well so they don't get compiled in by default.
* Move all license headers to SPDX format.Martin Braun2017-12-2229-348/+29
|
* TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2017-12-085-413/+495
| | | | | | | | | ADF5355 and ADF5356 support merged into adf535x class Default register values moved into regmap Reviewed-By: Martin Braun <martin.braun@ettus.com> Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Mark Meserve <mark.meserve@ni.com>
* adf435x: Add APIs for cp current and aux levelAlex Williams2017-10-301-8/+75
|
* docs: Fixed doxygen warningssugandhagupta2017-06-291-18/+20
|
* utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-291-1/+1
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-5/+4
|
* ad9361: Reconfigure Rx HB filters with MCR >58 MHzTom Tsou2017-06-281-1/+2
| | | | | | | | | | | Disable halfband HB3 (shortest and closest filter to the ADC) and enable HB2 (larger and second closest filter to the ADC). This significantly reduces HB excess bandwidth rolloff and reduces the effective noise floor by ~20 dB at rates above 58 MHz. The filter change has no effect at clock rates below 58 MHz. Fixes #1542 "Significant raise in noise floor using MCR above 58MHz"
* Merge branch 'maint'Martin Braun2017-06-271-1/+5
|\
| * X300: Dual channel TX performance improvementsMichael West2017-06-261-1/+5
| |
* | uhd: Removed unused code in recv_packet_demuxer_proxy_3000Martin Braun2017-04-121-30/+3
| | | | | | | | | | All this code required defining RECV_PACKET_DEMUXER_3000_THREAD_SAFE, which we never set.
* | utils: Replaced uhd::atomic_uint32_t with std::atomicMartin Braun2017-04-121-4/+4
| |
* | logging: Demoted more DEBUG to TRACEMartin Braun2017-04-063-25/+27
| |
* | utils: add cmake switch to disable fastpath loggingAndrej Rode2017-04-061-3/+12
| |
* | Merge branch 'maint'Martin Braun2017-03-241-0/+6
|\|
| * max2871: fix for not writing register 0 when requiredMark Meserve2017-03-211-0/+6
| |
* | Merge branch 'maint'Martin Braun2017-03-011-8/+5
|\|
| * Fix max values for MOD2 and FRAC2Mark Meserve2017-02-201-2/+2
| |
| * Revise calculation of ADF5355 FRAC2 registerMark Meserve2017-02-201-7/+4
| | | | | | | | | | Corrected residue formula Fixed cast to uint16_t that was behaving differently in msvc14 32-bit vs 64-bit
* | Merge branch 'maint'Martin Braun2017-02-201-1/+5
|\|
| * UBX: Add UHD_SAFE_CALL for MAX287x dectructor to prevent terminatemichael-west2017-02-161-1/+5
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-2013-59/+60
| |
* | n230: Fold in module fka usrp3_fw_ctrl_ifaceMartin Braun2017-02-204-420/+0
| |
* | uhd: Replace clocking_mode_t unscoped enum with scoped versionMartin Braun2017-02-172-4/+4
| | | | | | | | | | This is not a functional change, but it marks the usage of scoped enums in UHD. Commits past this one may also use this C++11 feature.
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-106-15/+11
|/ | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Moved default register values into ic_reg_mapDerek Kozel2017-01-301-32/+13
|
* lib: add default ctors to structs and initialize members properlyAndrej Rode2017-01-121-3/+15
|
* lib: remove statements after throwAndrej Rode2017-01-121-1/+1
|
* ad9361: assign before throwAndrej Rode2017-01-121-1/+1
|
* lib: Removed more superfluous variablesMartin Braun2016-11-281-6/+6
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-0823-426/+427
| | | | | | | | 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).
* max2871: Added label for the bit region VAS_DLYPaul David2016-10-051-0/+7
| | | | - Also added a template specialization for enabling the VAS_DLY bit locations based on VAS_TEMP setting (aka retune)
* Frontend corrections: Provide new function for RFNoC-based radioNicolas Cuervo2016-08-112-3/+64
|
* ad936x: Loopback check now takes peeker/poker functors instead of assuming ↵Martin Braun2016-08-092-10/+7
| | | | any kind of interface
* ad9361: Added option for safe SPIJonathon Pendlum2016-08-094-10/+65
| | | | - Also added check for reading chip ID
* common: adf5355: 'Fix' compiler warningMoritz Fischer2016-08-011-2/+2
| | | | | | | GCC6 doesn't like nested /* /* */ */ comments (rightly so), and complains. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* adf_synth: Added muxout config API to 435x controllersAshish Chaudhari2016-07-191-0/+34
|
* twinrx: Added ADF5355 control moduleAshish Chaudhari2016-07-193-0/+434
| | | | | - Added regmap - Added controller class
* Updated code to work for new minimum dependenciesNicholas Corgan2016-03-211-1/+2
| | | | | * Removed code referencing now-unsupported versions of Boost * Added <stdint.h> includes where needed
* Merge branch 'maint'Ashish Chaudhari2016-02-181-9/+134
|\ | | | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp host/lib/usrp/dboard/db_ubx.cpp
| * UBX: Phase synchronizationmichael-west2016-02-181-9/+134
| | | | | | | | | | | | | | - Disabled MAX2871 VCO auto selection for phase sync - Added checks for new phase sync constraints recently published by Maxim - Added dboard_clock_rate option for X300 - Adjusted timing of SYNC signal relative to dboard referenc clock