Martin Braun
0303f1ed55
lib: Purge all references to boost::this_thread::sleep()
...
Replace with std::this_thread::sleep_for().
2018-04-30 17:10:26 -07:00
Martin Braun
6652eb4a03
uhd: Move internal headers to uhdlib/
...
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>
2018-03-14 15:17:44 -07:00
Martin Braun
ae5211d71d
uhd: Update license headers
...
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b
Move all license headers to SPDX format.
2017-12-22 10:45:51 -08:00
Andrej Rode
c33928d2bb
utils: add set_thread_name API call, move thread_priority to thread
2017-06-29 13:43:05 -07:00
Martin Braun
cb1649d201
uhd: tasks now use std::threads under the hood, and can't be interrupted
...
USRP1 and USRP2 used tasks that relied on Boost thread interruption
mechanisms. These were replaced with explicit atomics.
2017-06-28 15:54:39 -07:00
Andrej Rode
21aad77c9c
utils: introduce new logging API and remove msg API
2017-02-20 17:13:15 -08:00
Andrej Rode
26cc20847c
uhd: replace BOOST_FOREACH with C++11 range-based for loop
...
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Andrej Rode
6d7692f393
usrp2: fixes according to coverity reports
2017-01-12 15:15:37 -08:00
Martin Braun
26d047f821
usrp2: Removed superfluous helper function
2016-11-28 12:17:12 -08:00
Martin Braun
99c2730bc9
Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width 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).
2016-11-08 08:02:22 -08:00
Martin Braun
bcd364df0f
N2x0: Fixed missing usage of send_buff_size
2015-03-03 14:25:56 -08:00
Josh Blum
c464a63e87
uhd: added new calls to streamer object + support work
...
* 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.
2013-07-15 15:44:42 -07:00
Josh Blum
584b7ae26c
usrp2: fix program_stream_dest (arp for dest)
...
The send buffer should be reset ASAP so it gets flushed out.
2012-08-14 13:47:48 -07:00
Josh Blum
e4d3f63ce0
usrp2: work on alternative stream destination
2012-03-23 14:36:21 -07:00
Josh Blum
3060006b35
uhd: added async md user payload and common utils
2012-02-14 18:26:03 -08:00
Josh Blum
1151000340
uhd: various tweaks for compiler warns and valgrind
2012-02-09 17:59:48 -08:00
Josh Blum
5eec31fab4
dsp rework: implement 64 bit ticks, no seconds
2012-02-06 16:40:42 -08:00
Josh Blum
b7ff81c9a8
dsp rework: work on usb wrapper for smaller packets, large luts
2012-02-02 15:15:54 -08:00
Josh Blum
d27125b9ab
dsp rework: account for no sid used in tx vita pkt
2012-02-01 09:48:28 -08:00
Josh Blum
d46c176af3
dsp rework: tx trailer, scaling work (peak)
2012-01-31 14:56:31 -08:00
Josh Blum
aa95e53a91
dsp rework: work on scaling and args parsing on RX and TX dsp
...
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.
2012-01-31 14:56:31 -08:00
Josh Blum
8f25550d1a
dsp rework: implemented new scalefactor in rx dsp core
2012-01-31 14:56:31 -08:00
Josh Blum
9f2aa9235f
uhd: add samples per pkt option to rx streamer
2012-01-26 13:03:09 -08:00
Josh Blum
b8e41cbbc9
uhd: flush transport for new rx streamers
2012-01-23 13:03:09 -08:00
Josh Blum
81289ab051
usrp: added underflow_policy to tx streamer args
2011-12-20 17:38:00 -08:00
Ben Hilburn
f3654090d9
UHD will now print 'L' whenever a late packet is transmitted.
...
This is similiar to printing 'U' and 'S'. This functionality is not yet
supported on the USRP1.
2011-12-12 10:29:11 -08:00
Josh Blum
40c637bfb7
uhd: work with stream clearing
...
dont clear when using the compat device API
tx clear also resets expected seqnum
tx clear on usrp2 resets flow control monitor
2011-12-05 13:04:23 -08:00
Josh Blum
dac9a5001a
usrp: clear dsp when making new streamer
2011-11-21 09:55:55 -08:00
Josh Blum
f1434d7c52
usrp2: fix channel mapping calculation
2011-11-07 15:10:19 -08:00
Josh Blum
8bb81824ea
usrp: parse rx stream args scalar
2011-11-05 12:14:14 -07:00
Josh Blum
c885da1138
uhd: renamed convert markup to format
...
removed convert args
added simd level
got orc and neon updated
2011-11-03 20:37:12 -07:00
Josh Blum
0946176f51
usrp1: got the 16Msps working (needed non hb-filter image)
2011-11-03 20:37:11 -07:00
Josh Blum
861e66848f
usrp2: work on alternative OTW formats
2011-11-03 20:37:11 -07:00
Josh Blum
fac15db5d7
uhd: renamed some of the stream types and functions
2011-11-03 20:37:11 -07:00
Josh Blum
e4561a18cd
usrp1: did work for stream interface on usrp1
2011-11-03 20:37:11 -07:00
Josh Blum
fbe2aefe29
usrp2: additional corrections for streaming to work
2011-11-03 20:37:10 -07:00
Josh Blum
66c95c12a1
uhd: lots of work releated to streamer work and usrp2 implementation
2011-11-03 20:37:10 -07:00
Josh Blum
997fff3bb8
usrp2: manually deconstruct tasks, fixes cleanup bug
2011-08-25 15:26:57 -07:00
Josh Blum
da40a1aebc
uhd: replaced boost filesystem path with fs_path in property tree
2011-07-22 13:59:47 -07:00
Josh Blum
22319dfc30
uhd: tweaks for windows boost 1.47 compile
2011-07-18 12:57:00 -07:00
Josh Blum
6d47818032
usrp2: use the err transport for tx/err, and rx xports are recv only
2011-07-17 23:54:19 -07:00
Josh Blum
7e1b2a0e3c
uhd: added tasks to simplify thread spawning use cases
2011-07-13 17:25:40 -07:00
Josh Blum
54229a06d1
usrp: added software scale factor adjustment
2011-07-08 11:58:51 -07:00
Josh Blum
729b284f62
usrp: handle frontend swapping if the first subdev is QI or Q
2011-07-04 07:21:53 -07:00
Josh Blum
89989fdb2d
usrp2: accept old db name 0 for backwards compat
2011-07-03 12:22:53 -07:00
Josh Blum
ffde9596bd
usrp2: set the set_alignment_failure_threshold to match default socket buffer size
2011-07-03 11:39:25 -07:00
Josh Blum
6aa4690af0
usrp: added validate_subdev_spec to all io_impls
2011-07-01 15:07:38 -07:00
Josh Blum
38eefb2eea
usrp: moved fx2 stuff into common folder
2011-07-01 14:03:04 -07:00
Josh Blum
11539ef6f6
usrp2: moved impl back into usrp subdir
2011-06-29 14:00:22 -07:00