aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Replace boost::function with std::functionMartin Braun2019-11-261-4/+4
| | | | | | | This is mostly a search-and-replace operation, with few exceptions: - boost::function has a clear() method. In C++11, this is achieved by assigning nullptr to the std::function object. - The empty() method is replaced by std::function's bool() operator
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-9/+9
| | | | | | | | | | | | | | | | | | | 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.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-1/+3
| | | | Replace with std::this_thread::sleep_for().
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-3/+3
| | | | | | | | | | | | | | | | 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
|
* uhd: tasks now use std::threads under the hood, and can't be interruptedMartin Braun2017-06-281-5/+8
| | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics.
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-6/+6
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-4/+4
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-6/+6
| | | | | | | | 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).
* Squashed merge of Coverity fixes.Ben Hilburn2013-11-271-1/+1
|
* uhd: added new calls to streamer object + support workJosh Blum2013-07-151-0/+11
| | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API.
* Merge branch 'maint34' into maintNicholas Corgan2012-11-161-3/+20
|\ | | | | | | | | | | Conflicts: host/lib/usrp/b100/b100_impl.cpp host/lib/usrp/usrp1/usrp1_impl.hpp
| * lib/cmake: CPack source workNicholas Corgan2012-11-161-3/+20
| | | | | | | | | | * Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source
* | uhd: squashed transport workJosh Blum2012-04-231-6/+6
|/
* usrp1: fix to use the db connection type to determine DAC signJosh Blum2012-02-241-2/+10
| | | | | | | | Unlike the other products, usrp1 uses the DAC and not DSP to perform baseband frequency shifting in the hardware. Therefore this shifting occurs before I and Q swapping, and so, the sign of the frequency needs to be inverted on daughterboards which have inverted I and Q TX inputs.
* usrp1: fix advertised samples per packet in send streamerJosh Blum2012-02-211-1/+2
| | | | | Must subtract off the 511 for 512 modulus remainder commit. This bug was introduced by the conversion to streamer API.
* b100/usrp1: various tweaks for compiler warns and valgrindJosh Blum2012-02-091-5/+5
|
* dsp rework: work on usb wrapper for smaller packets, large lutsJosh Blum2012-02-021-1/+1
|
* usrp1: fix div ratio for interp registerJosh Blum2011-12-151-1/+1
| | | | | The interp register was getting set 2x, now fixed! This bug was introduced w/ the streamer work.
* usrp1: fixed swapped sign on rx cordicJosh Blum2011-12-151-1/+1
| | | | | | | | | | | We used to swap I and Q to share converter functions with the newer products. Because of this, the sign on the cordic also had to be swapped. Now that USRP1 has its own converter routines and I and Q are correct, so should be the sign on the cordic. This was a bug introduced in master. TX should not be an issue, because there is no cordic and is adjusted digitally by the codec, after any potential swapping.
* usrp1: set scale factor after setting converterJosh Blum2011-11-301-4/+4
|
* usrp: fix rate calculation logicJosh Blum2011-11-031-4/+2
|
* usrp: added get_tx/rx_ratesJosh Blum2011-11-031-5/+22
|
* uhd: added trailer parsing for occupancyJosh Blum2011-11-031-0/+1
|
* uhd: renamed convert markup to formatJosh Blum2011-11-031-6/+4
| | | | | | | | removed convert args added simd level got orc and neon updated
* usrp1: support variable clock rate through APIJosh Blum2011-11-031-0/+9
|
* uhd: added one packet mode to rx streamerJosh Blum2011-11-031-5/+13
|
* usrp1: got the 16Msps working (needed non hb-filter image)Josh Blum2011-11-031-13/+27
|
* usrp2: work on alternative OTW formatsJosh Blum2011-11-031-0/+4
|
* usrp1: various tweaks related to streamingJosh Blum2011-11-031-8/+10
|
* usrp1: type conversions and 8-bit workJosh Blum2011-11-031-21/+48
|
* usrp1: multi channel receive workingJosh Blum2011-11-031-4/+4
|
* uhd: renamed some of the stream types and functionsJosh Blum2011-11-031-2/+2
|
* usrp1: did work for stream interface on usrp1Josh Blum2011-11-031-87/+184
|
* usrp1: disable pad to one for usrp1 (not needed)Josh Blum2011-09-191-0/+1
| | | | This was messing up the pad to 512 bytes logic for empty flushes.
* usrp1: fix for multi-channel, OTW channel width is always 1Josh Blum2011-08-081-2/+2
|
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-10/+5
|
* usrp: added clipping to link max rate when setting sample rateJosh Blum2011-07-041-8/+6
|
* usrp: handle frontend swapping if the first subdev is QI or QJosh Blum2011-07-041-3/+1
|
* usrp1: tweaks + implemented other features to mimic async and inline messagesJosh Blum2011-07-021-48/+107
| | | | | | | Moved the underflow/overflow polling into a thread and out of the fast-path. Added an inline and async message queue into soft time control. Error and status messages are actually generated now and enqueued. Passes the async message test...
* usrp: added validate_subdev_spec to all io_implsJosh Blum2011-07-011-4/+3
|
* usrp1: implemented properties interface on usrp1Josh Blum2011-07-011-37/+136
|
* usrp1: super packet handler support squashedJosh Blum2011-06-141-94/+86
|
* uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵Josh Blum2011-05-141-15/+4
| | | | overhead
* usrp1: apply conditional disables/enables to rx and txJosh Blum2011-05-141-1/+2
| | | | | | | | Scapped the old gnuradio code for information about VRQ_FPGA_SET_XX_ENABLE. It turns out that we should disabled + restore state when changing muxes or rates. The USRP seems to stream properly when receiving single and dual channel. Prior to this commit, tx was accicentally always disabled from a few commits ago.
* uhd: removed more iostream stuff from usrp* implementationsJosh Blum2011-05-041-5/+5
|
* usrp1: fix for tx under remainder conditionsJosh Blum2011-04-271-3/+3
| | | | | The remainder was accidentally lost because the offset to the buffer was not propagated outside of the commit function.
* usrp1: safe destruction for usrp1 deviceJosh Blum2011-03-101-1/+2
|
* uhd: tweaks for windows msvc compiler warnings and errorsJosh Blum2011-02-161-1/+1
|