aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* convert: benchmark: Make converter benchmark Py3k compatibleMartin Braun2019-07-201-4/+5
|
* converters: Improve exception string for illegal formatsMartin Braun2019-07-201-1/+1
| | | | | | | When trying to create a converter with an illegal string, it will now look like this: [convert] Cannot find an item size for: `???'
* mpm: net: Fix typo in docstringMartin Braun2019-07-201-1/+1
|
* ad9361: Improve loggingMartin Braun2019-07-181-10/+15
| | | | | - Remove some spurious \n - Remove some usage of boost::format
* Device3: Fix MTU and default frame sizesMichael West2019-07-186-158/+277
| | | | | | | | | | The latest changes to the get_*x_stream() functions to calculate the MTU for the channel caused default frame size values to be ignored. This change fixes that by changing the key from "send/recv_frame_size" to "mtu" and then changing the implementations of make_transport() constrain the frame size values based on the "mtu" value as well as any device and/or transport-specific limits. Signed-off-by: Michael West <michael.west@ettus.com>
* nirio: Fix typo in nirio_zero_copyMichael West2019-07-181-1/+1
| | | | Signed-off-by: Michael West <michael.west@ettus.com>
* transport: usb: Allow to cancel USB requests without throwingBehnam Sabaghi2019-07-181-1/+3
|
* sbx: Only update ATRs when lock state changesMartin Braun2019-07-171-5/+7
| | | | | | | The SBX tracks the LO lock state via on-board LEDs. However, querying the LO lock status spawns an update to the entire ATR registers. To reduce the number of register reads/writes, the LO lock status LED is now only updated if it changed.
* mpm: cmake: removing unnecessary destination prefixPatrick Sisterhen2019-07-171-1/+1
| | | | | Removing unnecessary CMAKE_INSTALL_PREFIX to destination for usrp mpm python dir
* x310: fixed udp WSA buffer size assignment issueMatthew Crymble2019-07-171-3/+21
|
* rfnoc: Add update_graph() API callMartin Braun2019-07-155-12/+41
| | | | | | Blocks that change scaling, tick rate, or sampling rate can now notify the graph to update streamers. Before, this was handled only by mult_usrp, and only for DDC and DUC blocks.
* device3: Remove unused 'rate' argument from update_?x_streamers()Martin Braun2019-07-154-11/+14
|
* device3: rfnoc: formatting changesBrent Stapleton2019-07-154-53/+57
| | | | | | | | | | | | | Applying clang-format to files used in upcoming changes. clang-format -i --style=file host/include/uhd/rfnoc/node_ctrl_base.hpp clang-format -i --style=file host/lib/rfnoc/ddc_block_ctrl_impl.cpp \ host/lib/rfnoc/duc_block_ctrl_impl.cpp \ host/lib/rfnoc/legacy_compat.cpp \ host/lib/usrp/device3/device3_impl.cpp \ host/lib/usrp/device3/device3_impl.hpp \ host/lib/usrp/device3/device3_io_impl.cpp \ host/lib/usrp/x300/x300_impl.cpp
* nocscript: add optional port argument to block sr_writeMark Meserve2019-07-101-4/+15
|
* docs: e320/n3xx: Add a section on the BISTMartin Braun2019-07-102-0/+55
|
* transport: fixed a pre-mature buffer resetmcrymble2019-06-141-2/+3
| | | | | | In the PACKET_INLINE_MESSAGE case, we need to extract the error code from the packet buffer. But the buffer was being released before that happens, resulting in garbage values for metadata.error_code.
* n3xx: bugfix for mpm set_db_eeprom access via networkThomas Vogel2019-06-131-4/+7
| | | | access or data as bytes instead of str was not possible due to unconditional assert check for str
* x300: dac: Replace uhd::get_system_time() with steady_clockMartin Braun2019-06-121-5/+4
|
* docs: ubx: Add documentation for temp_comp_modeMartin Braun2019-06-121-0/+12
|
* max287x: improve loggingMark Meserve2019-06-121-7/+12
| | | | | - Split tuning log into 3 lines - Remove duplicated MAX287X
* ubx: add temperature compensation modeMark Meserve2019-06-121-0/+41
| | | | | | | - This mode defaults to "disabled" (no change from current behavior) - Enabling this mode fixes some instances where the MAX287x would fail to lock when in integer-n mode - Enabling this mode increases the maximum lock time to up to 100ms
* utils: log: Fix includes for UHD_HEX()Martin Braun2019-06-122-0/+2
| | | | Using UHD_HEX() requires <iomanip>, which is now part of log.hpp.
* transport: Remove warning for memset in super_recv_packet_handlerAlex Williams2019-06-071-4/+4
| | | | Should use value initialization for non-trivial classes.
* rfnoc: Consolidate double-documented param in block_ctrl_baseAlex Williams2019-06-071-3/+3
|
* types: Add explicit copy-constructor for sid_tAlex Williams2019-06-071-0/+5
| | | | Removes warnings due to -Wdeprecated-copy
* README.md: Fix links to knowledge baseMartin Braun2019-06-031-2/+2
|
* twinrx: increase rev c lo1 charge pump default valueMark Meserve2019-05-282-2/+2
| | | | - This change improves spur performance for the Rev C TwinRX daughterboard
* X300: fixed get_mtu for pcieMatthew Crymble2019-05-251-1/+4
| | | | Signed-off-by: Matthew Crymble <matthew.crymble@ni.com>
* cmake: Remove ENABLE_PYTHON3 flag and simplify Python detectionMartin Braun2019-05-245-69/+160
| | | | | | - Makes use of more modern find_package(Python2/3) if available - Moves almost all Python-related code to UHDPython.cmake - ENABLE_PYTHON3 is no longer necessary
* fpga-src: Update submodule pointerMartin Braun2019-05-241-0/+0
| | | | This will include updated E310 FPGA images.
* images: Add E310 v3.15.0.0 prerelease filesystemsSugandha Gupta2019-05-241-0/+9
|
* fixup! uhdlib: add rational approximation to math utilitiesMartin Braun2019-05-231-1/+1
|
* tests: Fix mock_ctrl_iface for 32-bit MSVCMartin Braun2019-05-231-2/+2
| | | | | Widening and narrowing of bitwidths causes errors on this platform without explicit casts.
* cmake: Change default value for ENABLE_RFNOC to ONMartin Braun2019-05-231-1/+1
| | | | | | | | | This means that by default: - Symbols get exported - Headers get installed - Examples get compiled The switch still exists and can be disabled.
* cores: Use NSDMI consistently in ?x_dsp_core_3000.*Martin Braun2019-05-222-23/+16
| | | | | | There are edge cases where the lack of initialization of _current_freq could crash libuhd. To resolve this, we initialize all elements of those cores to sensible values using NSDMI.
* cores: Apply clang-format to ?x_dsp_core_3000.*Martin Braun2019-05-224-243/+280
|
* cmake: tests: Add macro for non-API based unit testsMartin Braun2019-05-222-49/+60
| | | | | | All unit tests which require extra sources (i.e., can't just interact with the UHD API) have been manually added to the CMakeLists.txt in a clumsy fashion. This macro cleans that up a little.
* cmake: Remove superfluous modulesMartin Braun2019-05-225-302/+2
| | | | | | CMakeParseArgumentsCopy, CMakeCheckCXXSymbolExists, and CMakeCheckSymbolExists were backported from when we required CMake 2.8. No longer required since we require CMake 3.5.1.
* devtest: Add new test for tx_waveformsMartin Braun2019-05-226-0/+121
| | | | This will run tx_waveforms with a few settings.
* lib: rfnoc: Apply clang-format to graph_impl.hppMartin Braun2019-05-221-35/+26
|
* mpmd: image_loader: Add support for devices without fpga_typeSugandha Gupta2019-05-211-1/+5
| | | | | This fixes fpga image loading for devices which not have SFP port and hence no fpga_type e.g. E310.
* cmake: python: Remove stray message()Martin Braun2019-05-211-1/+0
|
* docs: e320: Add documentation for gpio and eeprom-flagsSugandha Gupta2019-05-172-0/+48
|
* docs: n3xx: Add link to README for building custom filesystemsSugandha Gupta2019-05-171-37/+1
|
* docs: e31x: e320: Update docs for E310 MPM versionSugandha Gupta2019-05-176-1080/+649
| | | | - Also updated device args and subdev spec
* cmake: Remove superfluous "E300/E320 enabled" messagesMartin Braun2019-05-161-2/+0
|
* mpm: Change SW/HW compat check to use last_rev_compatTrung Tran2019-05-104-18/+33
| | | | | | | Newer revisions of the E320 and N3xx motherboards use EEPROM version 3, and store a rev_compat field. The rev_compat is the last revision that this hardware is compatible with. We now use that instead of simply the revision.
* mpm: Add MB-EEPROMv3Martin Braun2019-05-104-13/+52
| | | | | | | | | | This includes a rev_compat field, which we can use to identify the last hardware revision this hardware is compatible with. Example: Say the current hardware revision is 7, but it is compatible with version 5, then we store 7 as the current rev, and 5 as the rev_compat. Software can now check the rev_compat rather than the current rev for compatibility. This makes MPM more future-proof against minor, compatible hardware changes.
* rfnoc: tick_node: Search all nodes for tick ratesMartin Braun2019-05-081-3/+5
| | | | | | | | | | | | | | | | | The tick_node was trying to find the current tick rate by only querying active blocks (i.e., blocks that were flagged active-streaming). However, this is not necessary since we require all blocks to run at the same tick rate. In theory, querying active-only ports should be fine, but due to some idiosyncrasies in our current graph code, connecting a single streamer to channel 1 (out of 0, 1) would try and get the info from the wrong port. This is not a fix to the graph code, but the change to tick_node is also appropriate and is sufficient to fix the "late packets on channel 1" issue. This issue would manifest when sending timed packats to channel 1 in a single-channel streamer. The problem is that it wouldn't be able to read the correct tick rate.
* log: Change logging coloursMartin Braun2019-05-071-3/+3
| | | | | | TRACE: Remains purple, but that's now no longer bright ERROR: Is now bright red (was non-bold red before) FATAL: Is now red-on-yellow