aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-214/+283
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace all occurrences of boost::bind with std::bindMartin Braun2019-11-261-22/+21
| | | | | | | | | | | | | | | | | | | | | 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::function with std::functionMartin Braun2019-11-261-1/+1
| | | | | | | 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-12/+12
| | | | | | | | | | | | | | | | | | | 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-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
|
* utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-291-1/+1
|
* uhd: tasks now use std::threads under the hood, and can't be interruptedMartin Braun2017-06-281-4/+5
| | | | | 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-9/+9
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-11/+11
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* usrp2: fixes according to coverity reportsAndrej Rode2017-01-121-1/+1
|
* usrp2: Removed superfluous helper functionMartin Braun2016-11-281-4/+0
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-15/+15
| | | | | | | | 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).
* N2x0: Fixed missing usage of send_buff_sizeMartin Braun2015-03-031-1/+2
|
* uhd: added new calls to streamer object + support workJosh Blum2013-07-151-0/+3
| | | | | | | * 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.
* usrp2: fix program_stream_dest (arp for dest)Josh Blum2012-08-141-0/+1
| | | | The send buffer should be reset ASAP so it gets flushed out.
* usrp2: work on alternative stream destinationJosh Blum2012-03-231-0/+57
|
* uhd: added async md user payload and common utilsJosh Blum2012-02-141-15/+3
|
* uhd: various tweaks for compiler warns and valgrindJosh Blum2012-02-091-1/+2
|
* dsp rework: implement 64 bit ticks, no secondsJosh Blum2012-02-061-4/+4
|
* dsp rework: work on usb wrapper for smaller packets, large lutsJosh Blum2012-02-021-1/+1
|
* dsp rework: account for no sid used in tx vita pktJosh Blum2012-02-011-1/+2
|
* dsp rework: tx trailer, scaling work (peak)Josh Blum2012-01-311-0/+1
|
* dsp rework: work on scaling and args parsing on RX and TX dspJosh Blum2012-01-311-9/+4
| | | | | This simplified some copy pasta in the io_impl.cpp files, and adds a place for sc8 tx mode in the tx dsp core code.
* dsp rework: implemented new scalefactor in rx dsp coreJosh Blum2012-01-311-1/+1
|
* uhd: add samples per pkt option to rx streamerJosh Blum2012-01-261-1/+2
|
* uhd: flush transport for new rx streamersJosh Blum2012-01-231-1/+1
|
* usrp: added underflow_policy to tx streamer argsJosh Blum2011-12-201-0/+1
|
* UHD will now print 'L' whenever a late packet is transmitted.Ben Hilburn2011-12-121-0/+3
| | | | | This is similiar to printing 'U' and 'S'. This functionality is not yet supported on the USRP1.
* uhd: work with stream clearingJosh Blum2011-12-051-5/+14
| | | | | | | | dont clear when using the compat device API tx clear also resets expected seqnum tx clear on usrp2 resets flow control monitor
* usrp: clear dsp when making new streamerJosh Blum2011-11-211-0/+1
|
* usrp2: fix channel mapping calculationJosh Blum2011-11-071-2/+2
|
* usrp: parse rx stream args scalarJosh Blum2011-11-051-1/+2
|
* uhd: renamed convert markup to formatJosh Blum2011-11-031-6/+4
| | | | | | | | removed convert args added simd level got orc and neon updated
* usrp1: got the 16Msps working (needed non hb-filter image)Josh Blum2011-11-031-13/+19
|
* usrp2: work on alternative OTW formatsJosh Blum2011-11-031-1/+6
|
* 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-6/+0
|
* usrp2: additional corrections for streaming to workJosh Blum2011-11-031-3/+3
|
* uhd: lots of work releated to streamer work and usrp2 implementationJosh Blum2011-11-031-114/+156
|
* usrp2: manually deconstruct tasks, fixes cleanup bugJosh Blum2011-08-251-0/+5
|
* uhd: replaced boost filesystem path with fs_path in property treeJosh Blum2011-07-221-2/+2
|
* uhd: tweaks for windows boost 1.47 compileJosh Blum2011-07-181-1/+1
|
* usrp2: use the err transport for tx/err, and rx xports are recv onlyJosh Blum2011-07-171-7/+7
|
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-20/+9
|
* usrp: added software scale factor adjustmentJosh Blum2011-07-081-0/+2
|
* usrp: handle frontend swapping if the first subdev is QI or QJosh Blum2011-07-041-2/+4
|
* usrp2: accept old db name 0 for backwards compatJosh Blum2011-07-031-2/+22
|