aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* host: Update code base using clang-tidyMartin Braun2021-03-041-4/+4
| | | | | | | | | 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
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-69/+73
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-9/+9
| | | | | | | | | | | | | | | | | | | 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.
* uhd: Remove deprecated objects and methodsMartin Braun2019-11-261-2/+0
| | | | | | | | | This removes the following symbols: - otw_type_t - clock_config_t - Any functions that use those symbols - Non-standard args from examples (e.g., --total-time is deprecated in favour of --duration)
* 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
|
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-291-0/+2
| | | | | | | | | | | | - uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method has no utility being a public API call, because the user never gets access to the appropriate I2C object (Minor API breakage) - The central mboard_eeprom.cpp file was broken up and put into many smaller compilation units in every device's implementation folder. - Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* -> N200_*) - Removed the N000_* EEPROM code, because, well, you know, there's no such device
* uhd: tasks now use std::threads under the hood, and can't be interruptedMartin Braun2017-06-281-1/+2
| | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics.
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-2/+1
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-1/+1
| | | | | | | | 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).
* dboard: Added restricted dboard registration capabilityAshish Chaudhari2016-02-161-1/+0
| | | | | | - Moved dboard iface initialization to dboard_manager - Added a restricted register function. Restricted dboards don't expose their control iface in the property tree
* uhd: Added max link rate info for usrp1, usrp2 and b100Martin Braun2014-04-101-0/+1
|
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-7/+0
|
* Merge branch 'maint34' into maintNicholas Corgan2012-11-161-0/+19
|\ | | | | | | | | | | Conflicts: host/lib/usrp/b100/b100_impl.cpp host/lib/usrp/usrp1/usrp1_impl.hpp
| * lib/cmake: CPack source workNicholas Corgan2012-11-161-0/+19
| | | | | | | | | | * Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source
* | usrp1: added hook to poke user regsJosh Blum2012-09-201-0/+2
| |
* | Merge branch 'maint'Josh Blum2012-05-301-1/+6
|\|
| * usrp1: shutoff DAC digital w/ TX state machineJosh Blum2012-05-301-1/+6
| |
* | usrp: mboard eeprom map use string as keyJosh Blum2012-05-141-0/+2
|/
* usrp: added missing include for weak ptrJosh Blum2011-11-081-0/+1
|
* usrp1: implement rx dc offset control hooksJosh Blum2011-11-031-0/+4
|
* usrp: added get_tx/rx_ratesJosh Blum2011-11-031-0/+2
|
* usrp1: support variable clock rate through APIJosh Blum2011-11-031-1/+4
|
* usrp1: type conversions and 8-bit workJosh Blum2011-11-031-2/+2
|
* 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-17/+8
|
* usrp: remove wax::obj entry point (not used)Josh Blum2011-09-081-3/+0
|
* uhd: add get_tree call directly to the deviceJosh Blum2011-07-201-0/+3
| | | | | | Does away with the need for wax cast to get the tree. You can still do this but it will eventually be removed. There was some compiler issue on ubuntu 10.04 with any cast and a shared ptr to property tree.
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-2/+1
|
* usrp1: tweaks + implemented other features to mimic async and inline messagesJosh Blum2011-07-021-0/+4
| | | | | | | Moved the underflow/overflow polling into a thread and out of the fast-path. Added an inline and async message queue into soft time control. Error and status messages are actually generated now and enqueued. Passes the async message test...
* usrp1: implemented properties interface on usrp1Josh Blum2011-07-011-119/+40
|
* usrp1: super packet handler support squashedJosh Blum2011-06-141-0/+3
|
* usrp1: moved fx2 control into its own directoryJosh Blum2011-06-141-3/+2
|
* USRP1: implement MBOARD_PROP_CLOCK_CONFIG, only accepts internalJosh Blum2011-05-161-1/+0
|
* usrp1: apply conditional disables/enables to rx and txJosh Blum2011-05-141-0/+39
| | | | | | | | Scapped the old gnuradio code for information about VRQ_FPGA_SET_XX_ENABLE. It turns out that we should disabled + restore state when changing muxes or rates. The USRP seems to stream properly when receiving single and dual channel. Prior to this commit, tx was accicentally always disabled from a few commits ago.
* usrp: support for grand daughter board eepromJosh Blum2011-04-261-1/+1
|
* usrp: support for multiple dsps in props and implemented in usrp1Josh Blum2011-02-171-8/+8
| | | | | | | usrp1 previously had 1 rx and 1 tx dsp with multiple freq params, it now has N and M dsps each with one freq param. This is more consistent with the multi-dsp model. The hack here is to only apply stream commands and sample rate changes to dsp0.
* uhd: replaced std::vector<type> for buffer arguments in send/recvJosh Blum2011-02-091-2/+2
| | | | | | | | | Created new type ref_vector for representing a vector of pointers. Can be created from std::vector or a pointer. Removes the convenience constrcutors for send/recv, its not needed. Removes malloc/free overhead when using send/recv with pointer.
* usrp1: fix for tx disable on EOBJosh Blum2011-02-021-1/+0
| | | | | Leave the tx digital always enabled, flush with zeros is enough to turn it "off". Fixed the flush routine to send something (when zero) to ensure zeros go out.
* usrp1: work on usrp1 hardware compat with the apiJosh Blum2011-01-171-1/+2
| | | | | | today we added shutoff the DAC when not transmitting using EOB as an indicator added various other features and cleaned up code for soft time control
* uhd: update copyright dates on host codeJosh Blum2011-01-131-1/+1
|
* usrp1: implement soft time ctrl for send at, recv atJosh Blum2011-01-131-1/+5
|
* usrp1: use the transport frame sizes to calculate the max sppJosh Blum2010-10-061-8/+2
| | | | | | | | | The max send spp is the frame size minus the alignment padding. This allows us to copy a remainder into a new buffer and always commit multiples of the alignment size (512 bytes). Reworked the managed send buffer implementation to handle the above. Uses only managed memory, and only mem-copied under the alignment.
* uhd: implemented a double timeout (in seconds) for send and recv chainsJosh Blum2010-10-011-4/+3
| | | | | | | | converted all size_t timeout_ms to double timeout bounded and alignment buffer now take double timeout added timeout to device::send and zero_copy_if::get_send_buff
* usrp1: multi-channel tx working, modified vrt handler to interleaveJosh Blum2010-09-231-2/+2
|
* usrp1: reworked the io_impl for usrp1 to use the vrt packet handlerJosh Blum2010-09-221-2/+10
| | | | | | | | used dummy packers and unpackets that have a header size of zero created wrapper around the data transport to handle non-512 multiple sends honor the eob flag on send to flush the send buffer
* usrp1: implemented multi-channel dsp control of shift freqJosh Blum2010-09-201-2/+4
| | | | | | usrp: simple usrp calls into single usrp and prints deprecation warning usrp: tune helper now supports multi-channel dsps
* uhd: added single usrp interface, added usrp1 properties to prop namesJosh Blum2010-09-201-0/+6
|
* usrp1: handle special dbsrx clocking caseJosh Blum2010-08-261-3/+5
|
* Merge branch 'usrp1_next' into usrp1Thomas Tsou2010-08-261-0/+4
|\