aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_find_devices.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-30/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying formatting changes to all .cpp and .hpp files in the following directories: ``` find host/examples/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/tests/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/utils/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find mpm/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Also formatted host/include/, except Cpp03 was used as a the language standard instead of Cpp11. ``` sed -i 's/ Cpp11/ Cpp03/g' .clang-format find host/include/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Formatting style was designated by the .clang-format file.
* examples: utils: skip formatting program optionsBrent Stapleton2019-01-161-0/+2
| | | | | | Turning off clang formatting around the program option declarations. clang-format makes them looks bad an unreadable because it thinks the options are function calls or something.
* 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.
* utils: Use find_all in uhd_find_devicesMartin Braun2018-02-071-4/+19
| | | | | | This enables finding all N310 devices, even if they're not available Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-1/+0
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-2/+2
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* utils: uhd_find_devices display one device for each unique serial foundAndrej Rode2016-11-221-6/+44
| | | | | | | Note: This also is the first precedent for the usage of the 'auto' keyword in UHD. Commits past this one will also be able to use 'auto'. Reviewed-By: Martin Braun <martin.braun@ettus.com>
* examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectivelyMoritz Fischer2012-10-261-3/+4
| | | | instead of 0 and 1.
* Expanded the dboard id API to create dboard id types from strings and ints.Josh Blum2010-05-031-1/+1
| | | | | | And created utility functions to go between representations. Created to_pp_string for pretty print strings for dboard ids and device addrs. Minor changes to the various classes that call these utilities.
* setting size of buffers from device argsJosh Blum2010-04-271-1/+1
|
* Created args string contructor for device address.Josh Blum2010-04-201-12/+2
| | | | | Using the args string for the find devices app. Added documentation to simple usrp.
* moved props into usrp and multiple hpp filesJosh Blum2010-04-011-1/+0
|
* use find to discover devicesJosh Blum2010-03-301-0/+71