aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/device3/device3_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-96/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* uhd: Fix log statement for Port number on RFNOC blockSugandha Gupta2018-12-051-1/+1
| | | | | CE is display in decimal format and Port number will be displayed in Hex, as it represents Block Port on the crossbar
* uhd: rfnoc: add async message handlerTrung Tran2018-09-141-2/+29
|
* UHD: Update copyright datesMartin Braun2018-06-221-1/+1
|
* rfnoc: Update logging in some blocksMartin Braun2018-03-301-13/+35
| | | | | | | | | | Updated the following blocks and components: Radio, DmaFIFO, block_ctrl_base and node_ctrl_base, blockdef_xml_impl, device3_impl. No functional changes. - Demoted some log messages - Consistent log style (use unique_id()) - Some adaptation of coding style where close to log statements
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-161-9/+3
| | | | | | | | | | - ctrl_iface is now longer a wb_iface. All it can do now is send command packets, and receive responses to those. - ctrl_iface does not store command time or tick rate - wb_iface_adapter is no longer a set of functors, but a wrapper around ctrl_iface. Command times are stored once, in the block. - DMA FIFO and radio block controllers have an easier time getting access to a timed_wb_iface
* 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: Fix some log statementsAndrej Rode2018-03-071-1/+0
| | | | Some log statements were incorrectly using multi-line log statements.
* 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
|
* device3: Fixed potential concurreny issuesAshish Chaudhari2017-04-051-2/+4
| | | | | | | - Protected block_ctrl vector with a mutex - Note: const block accessors are not thread safe - Removed sid_framer from base device3 class - Made x300,e300 sid_framers atomic
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-7/+7
|
* 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.
* rfnoc: Removed transport endianness as make argMartin Braun2016-11-091-1/+0
| | | | | | | | | This is only confusing, since the blocks do not have to care about endianness. The control interface needs to know (and takes care of it internally), and the streaming transport does the same (and does not directly connect to blocks). Reviewed-By: Michael West <michael.west@ettus.com>
* rfnoc: Moved transport endianness as property into both_xports_tMartin Braun2016-11-091-5/+4
| | | | Reviewed-By: Michael West <michael.west@ettus.com>
* device3: Removed some superfluous includesMartin Braun2016-11-041-0/+1
|
* Merging RFNoC support for X310Martin Braun2016-08-091-0/+188