aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Define UHD_API as empty string when building static libCiro Nishiguchi2018-08-222-8/+19
| | | | | | | | | | Fixes #2484 When building uhd host as a static library on Windows, UHD_API is defined as __declspec(dllimport). This results in MSVC returning error C2491 during compilation. Added a preprocessor define UHD_STATIC_LIB in cmake and made the config headers set UHD_API to empty string when UHD_STATIC_LIB is defined.
* RFNoC: Convert SR_READBACK_REG_FIFOSIZE to bytesTrung N Tran2018-08-221-1/+1
| | | | | Change the RB_FIFOSIZE register to store the FIFO size in bytes instead of log2 of bytes.
* uhd: Remove usage of time_t (except when required)Martin Braun2018-08-203-16/+18
| | | | | | | | | | The C/C++ standards don't define what time_t is, only that it is arithmetic (and real for C11, and integral for C++). It should not be used in portable software and is only used as the return value for some libc calls. A common definition for time_t is int64_t, so we'll switch to that permanently in our own APIs. System APIs will of course stick with time_t.
* multi_usrp: Add get_user_settings_iface() API callMartin Braun2018-08-161-0/+27
| | | | | | | | | | | For USRPs that support user settings (e.g., B2xx, N230), this will return an object that will allow peeking and poking user-defined settings registers. Mock code example: auto usrp = multi_usrp::make(...); auto user_settings_iface = usrp->get_user_settings_iface(); user_settings_iface->poke32(0, 23);
* fixup! multi_usrp: Expose APIs for TX LO controlsMartin Braun2018-07-311-0/+1
| | | | | | This is a fixup of a pretty old commit, but necessary. It adds a UHD_USRP_MULTI_USRP_TX_LO_CONFIG_API macro for detection of TX LO controls, which should have been in the original commit.
* X300: Change Ethernet bufferingMichael West2018-07-253-6/+16
| | | | | | | Ethernet buffering is now done so that most of the buffering is done in the socket buffers and multiple frames are only used to support the receive side offload of the socket I/O. Eliminates dropped packets at high full duplex rates.
* Device3: Change packet-based flow control to byte-based flow controlMartin Braun2018-07-256-20/+28
|
* rfnoc: Enabled SW flush mechanism impl'd in noc_shellAshish Chaudhari2018-07-242-1/+4
| | | | | | | | | | | - UHD will now "disconnect" the noc_block data-path from the crossbar when the block's dtor is invoked. This allows long running or slow blocks to empty out rapidly during teardown. - UHD will also attempt to flush at init time in case a block is destroyed abnormally. The goal of the flush mechanism is to not lock up the FPGA - noc_shell compat number is now 3
* docs: Add comments on block port and ID for stream argsMartin Braun2018-07-201-1/+12
|
* uhd: initial commit of UHD support for E320Brent Stapleton2018-07-181-0/+53
| | | | Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* cmake: Fix version numberingMartin Braun2018-07-131-4/+4
| | | | | UHD-* branches were being detected as "development", and #cmakedefine does not like it when values are actually zero.
* uhd: Expose DC Offset range via multi_usrp interfaceDerek Kozel2018-07-111-0/+12
|
* soft_register: Remove compiler warning, add unit testMartin Braun2018-07-111-4/+6
|
* e300: merge files from rfnoc-develTrung N Tran2018-06-291-0/+60
| | | | This disables the ability to do "network mode" on the E310.
* rfnoc: Merge block controller header files from rfnoc-develTrung Tran2018-06-293-44/+123
|
* fixup! Time_spec: Add OperatorsVidush2018-06-261-2/+2
|
* docs: Fixed a doxygen warningMartin Braun2018-06-222-1/+2
|
* UHD: Reorder includeMartin Braun2018-06-221-1/+1
|
* multi_usrp: Forward-declare device3Martin Braun2018-06-221-3/+5
| | | | | There is no need to include it in multi_usrp.hpp, and in fact, it will break stuff when ENABLE_RFNOC=OFF, which is currently the default.
* RFNoC: Add FIR, Null, and Window block controllersMartin Braun2018-06-223-0/+170
|
* RFNoC: Add Siggen block controllerSugandha Gupta2018-06-221-0/+25
|
* UHD: Expose device3 APIs in multi_usrpMartin Braun2018-06-221-0/+15
|
* RFNoC: Add moving avg, splitstream, and vector IIR block definitionsMartin Braun2018-06-223-0/+172
|
* RFNoC: Add debug, gain, schmidlcox, and serialdemod block definitionsJonathon Pendlum2018-06-224-0/+298
|
* Time_spec: Add OperatorsVidush2018-06-071-1/+3
|
* types: convert sensor_value_t to a mapBrent Stapleton2018-05-141-0/+3
|
* docs: Clarify meaning of DSP frequenciesMartin Braun2018-05-111-0/+11
|
* dboard_iface: Add has_set_fe_connection() methodMartin Braun2018-05-081-0/+4
|
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-021-5/+2
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-302-4/+5
| | | | Replace with std::this_thread::sleep_for().
* log: Allow disabling of fastpath msgs at runtimeMartin Braun2018-04-261-1/+1
| | | | | | - Fixes an issue with compile time disabling as well - An UHD_LOG_FASTPATH_DISABLE=1 env var will make it that O/U/S/D won't be printed
* niusrprio: Move a const from header to implMartin Braun2018-04-181-2/+0
| | | | This avoids having to redeclare the static const to avoid linker errors.
* niusrprio: Refactor niusrprio_session, move out static constsMartin Braun2018-04-171-4/+0
| | | | | | Static const attributes were causing linker issues the way there were being used, but they were only used in niusrprio_session.cpp and thus could be factored out.
* fixup! lib: adding == and != for uhd::dictMartin Braun2018-04-051-1/+1
| | | | | The original code was fine, but it required the caller to be using C++11.
* multi_usrp: Add API call to query the clock rate rangeMartin Braun2018-04-031-0/+20
|
* lib: adding == and != for uhd::dictBrent Stapleton2018-04-022-0/+32
|
* lib: adding device_addr_t constructor from mapBrent Stapleton2018-04-021-0/+7
| | | | | Adding constructor for device_addr_t that takes a map<string, string> as an argument.
* lib: Fixing config file path for some Windows buildsAndrew Lynch2018-03-281-0/+4
|
* DDC/DUC: switch CORDIC -> DDS for all relevant variable namesRyan Marlow2018-03-224-6/+6
| | | | - Bump compat number for DDC/DUC to 2.0
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-162-6/+13
| | | | | | | | | | - 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
* rfnoc: modify duc.xml and radio_x300.xml;add duc_single.xmlTrung N Tran2018-03-133-11/+151
|
* mg: reduce to 2 radios for n310Trung N Tran2018-03-131-1/+9
|
* uhd: Moved get_system_time outside of public APIMartin Braun2018-03-051-8/+0
| | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space.
* uhd: Removed atomic.hpp from public APIMartin Braun2018-03-052-74/+0
| | | | | | | atomic.hpp defines a spin lock and a lockfree mutex. There is no reason to have standard constructs in the public API, where we're contractually obligated to not touch them. Thus, moving them into the internal API space.
* uhd: Move some gpio_defs constants definitions out of headersMartin Braun2018-02-271-109/+0
| | | | Reviewed-by: Trung Tran <trung.tran@ettus.com>
* usrp: Add set_gpio_attr overload that use stringTrung N Tran2018-02-212-39/+164
| | | | | | | | | | | | | 1/ multi_usrp.hpp; multi_usrp.cpp: added new functions - set_gpio_attr() that allow user to set certain attribute by string value. - get_gpio_string_attr() return string type value of certain attribute. 2/ gpio_defs.hpp; gpio_atr_3000.cpp : added new definition of SRC attribute. This commit enable user to use multi_usrp api to set_gpio_attr using string value. This is helpful; because the attribute can represent more than two state as of old API. This enable user to set SRC (source) that drive each GPIO bank's pin. Source can be either processing unit(PS) or radio frontend logic from FPGA logic.
* rfnoc,x300: Multiple clocking changesAshish Chaudhari2018-02-211-1/+1
| | | | | | - Moved bus_clk <=> ce_clk crossing to axi_wrapper in FPGA which resulted in a noc_shell compat bump - Change x300 bus_clk frequency to 187.5 MHz
* uhd: Update license headersMartin Braun2018-02-19159-149/+301
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* rfnoc: Check noc_shell compat number at runtimeMartin Braun2018-02-192-2/+10
|
* rfnoc: Add TX bandwidth APIs to radio_ctrlMartin Braun2018-02-081-0/+17
|