Commit graph

16 commits

Author SHA1 Message Date
Martin Braun
107a49c0c2 host: Update code base using clang-tidy
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
2021-03-04 08:07:26 -06:00
Martin Braun
876d4150aa uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
2020-03-03 08:51:32 -06: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
Paul David
2c0f109835 Types: Added equality/inquality operators to support Boost.Python additions
- Added to subdev_spec_pair_t
- Added to range_t
- Added tests for the inequalities
2017-05-23 17:14:32 -07: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
Josh Blum
4357f5d3c0 uhd: replaced instanced of std::exception with the uhd exceptions 2011-02-24 16:35:29 -08:00
Josh Blum
db1fd30da6 uhd: fixed maxosx bug, was resizing the transport buffer
but it cant be resized on macos and I messed up the code that blocked that behavior

reimplemented block in usrp2_impl, seems more correct here
2011-01-26 11:27:25 -08:00
Josh Blum
261bb80d73 uhd: update copyright dates on host code 2011-01-13 16:22:07 -08:00
Josh Blum
771b5cebda uhd: integrated boost split or tokenizer into source files, remove string split from algorithms header 2011-01-06 15:38:56 -08:00
Josh Blum
a4f8ad59b2 usrp: added subdev enabled property
the dboard manager will disable all subdevs at startup and shutdown

setting the subdev spec will enable only the subdevs in use

all dboards are currently implemented as always enabled

nothing tested
2010-09-30 11:05:33 -07:00
Josh Blum
6c3d37caa3 usrp: give dboards a name (not a blank string), do automatic selection when not provided 2010-08-15 01:41:35 -07:00
Josh Blum
805d4a0cff uhd: made split string utility function 2010-08-12 10:08:17 -07:00
Josh Blum
187fe9d3e7 usrp: tweaks to subdev spec printing 2010-08-06 12:15:05 -07:00
Josh Blum
5ec42578fa uhd: created subdevice pair struct for subdev spec (easier than first/second) 2010-08-06 12:15:05 -07:00
Josh Blum
53341c286e usrp: added subdev spec class with parser to specify subdevice specifications for channel config 2010-08-06 12:15:05 -07:00