aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* adf535x: add charge pump controlMark Meserve2019-05-021-3/+55
|
* adf435x: add charge pump with double parameterMark Meserve2019-05-021-0/+34
|
* adf435x: enhance logging messagesMark Meserve2019-05-021-10/+13
|
* utils: add support for directly updating components from image_loaderAndrew Lynch2019-05-022-72/+101
|
* prop_tree: add pop() functionBrent Stapleton2019-05-024-0/+44
| | | | | Adding pop function to property tree, which will remove and return a property from the property tree. This also includes unit tests.
* prop_tree: formatting property tree filesBrent Stapleton2019-05-024-115/+184
| | | | | | | | | | | | - Ran clang-format - Fixed typos - Updated copyright headers clang-format -i --style=file \ host/include/uhd/property_tree.hpp \ host/include/uhd/property_tree.ipp clang-format -i --style=file \ host/lib/property_tree.cpp host/tests/property_test.cpp
* C: Add uhd_get_abi_string, uhd_get_version_stringNicholas Corgan2019-05-025-0/+73
| | | | | | | | Clients that include the UHD C headers have access to the version and ABI #defines, but this is not available to clients that dynamically load the library. This commit adds publicly exported functions to provide this information.
* E320: Add support for rev Emichael-west2019-05-021-1/+1
| | | | | | - No driver changes required Signed-off-by: michael-west <michael.west@ettus.com>
* mpmd: Release resources on destructionVirendra Kakade2019-05-012-4/+6
| | | | | This will clear the property tree, block registry, transport managers, and motherboard list on destruction of mpmd_impl.
* liberio: Release context holder on destruction of last liberio xportSugandha Gupta2019-05-011-3/+24
| | | | | | This will make sure that the context holder for the liberio context is destroyed when the last liberio transport is destroyed, and not on termination of the program.
* mpmd: Fix spurious reclaim call after unclaimVirendra Kakade2019-05-011-3/+6
| | | | | | | | | The reclaim task loop is asnychronous to the main thread which can result in spurious reclaim call to the device after unclaim has been called. This is especially risky if the device has already entered a non-serviceable state after unclaim e.g. idle state. Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* device3: Constraint send/recv_frame_size based on down/upstream MTUSugandha Gupta2019-05-0111-6/+124
| | | | | | We need to properly contraint the send/recv_frame_size based on the minimum MTU of all the down/upstream blocks. This fixes the issue with E310 tx/rx streaming as it has smaller MTU sizes than the other usrps.
* e310/e320: Move E310 to MPM architecture and refactorSugandha Gupta2019-05-0180-6174/+3186
| | | | | | | | | | | | - Turns the E310 into an MPM device (like N3xx, E320) - Factor out common code between E320 and E310, maximize sharing between the two devices - Remove all pre-MPM E310 code that is no longer needed - Modify MPM to remove all existing overlays before applying new ones (this is necessary to enable idle image mode for E310) Co-authored-by: Virendra Kakade <virendra.kakade@ni.com> Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* mpm: Add option for muxed data stream for liberio transportSugandha Gupta2019-05-013-5/+27
| | | | | | If the number of channels for embedded mode streaming is 4 (1 for ctrl, 1 for async messages and 2 for data ), we need to mux the data transport. This is needed for E310
* ad9361: Fix return values for tune and set_clock_rateSugandha Gupta2019-05-012-3/+11
| | | | | | This fixes a potential mismatch between the returned frequency and clock rate and the actual value. The new function get_clock_rate is need for async call to set_clock_rate in E3xx devices
* mpm: sys_utils: Remove hardcoded 'subsystem' for temp sensorSugandha Gupta2019-05-011-8/+24
| | | | | This is needed for E31x with thermal sensors on different subsystems e.g. iio, hwmon.
* tests: Make the Python interpreter for devtests a parameterMartin Braun2019-04-252-6/+8
| | | | | When running 'make test_***', it now also defaults to RUNTIME_PYTHON_EXECUTABLE.
* docs: Auto-generate build page with min deps versionsMartin Braun2019-04-243-6/+12
| | | | | | The build guide manual page now takes the min versions for the dependencies straight from CMake. This avoids having to update the manual whenever we bump depdendencies.
* include: Remove BOOST_VERSION hacks for 1.58Martin Braun2019-04-243-32/+7
| | | | | This removes all version hacks that were required for Boost versions 1.53 through 1.58 (since we now require 1.58).
* cmake: Bump dependency min versionsMartin Braun2019-04-242-31/+25
| | | | | | | | | | - gcc >= 4.8 (same as before) - Clang >= 3.8 - CMake >= 3.5.1 - Boost >= 1.58 Note: This also removes version-specific hacks for older CMake versions. Now that we require 3.5.1 they are no longer necessary.
* utils: Add X300/X310 reset programNick Foster2019-04-241-0/+109
|
* docs: Improved Windows-related build instructionsAbdo-Gaber2019-04-221-13/+65
| | | | | | | | | | | - In general, some comments to clarify the dependencies installation and building process for windows users. - Add a comment to the required packages for MSCV. - Provide instructions to install Python requirements. - Add the instructions of NSIS installation. - Add comments to the version match between different installers. - Clarify the instructions of building process using Cmake - Add a subsection to show how a binary UHD installer can be obtained. - Correct the URL of Doxygen.
* b200: update firmware manifestMark Meserve2019-04-222-2/+3
|
* b200: enable usage of custom bootloaderMark Meserve2019-04-114-102/+403
| | | | | - Update MB EEPROM - Add bootloader load command to fx3 util
* log: fix deadlock issue on Windows machinesAbdo-Gaber2019-04-111-3/+32
| | | | | | | In log.cpp, a deadlock can occur while popping elements from the log queue. If the queue is empty, the call does not timeout, and waits infinitely. Replacing pop_with_wait() with pop_with_timed_wait() solves this issue.
* log: formatting log.cppBrent Stapleton2019-04-111-168/+133
| | | | `clang-format -i --style=file host/lib/utils/log.cpp`
* b200: add custom bootloaderMark Meserve2019-04-1123-639/+2065
| | | | | - Adds custom bootloader code - Refactor common functions in firmware and bootloader
* mpm: Generalize unittest Test Case functionalityToni Jones2019-04-112-33/+50
| | | | | | Pull some general functionality out of a specific test case and create a TestBase class. Future test cases will inherit from TestBase and have access to this general functionality.
* docs: Add mention of DPDK support to X3x0Alex Williams2019-04-102-1/+9
|
* uhdlib: Add dpdk_zero_copy.hppAlex Williams2019-04-106-5/+5
| | | | | dpdk_zero_copy.hpp was referenced in multiple places using relative paths. Let's throw it in uhdlib for easy access.
* x300: Add support for DPDK transportsAlex Williams2019-04-103-7/+166
| | | | | Use dpdk_simple together with a control transport factory. Where udp_zero_copy is used, use dpdk_zero_copy if use_dpdk=1.
* transport: Make dpdk_simple subclass udp_simpleAlex Williams2019-04-102-86/+77
| | | | With the same APIs, this will make it easier to add support for X310.
* X300: add capability to flash NI-2974 FPGAThomas Vogel2019-04-031-2/+7
| | | | | | The NI-2974 has a X310 inside but reports a different "product" when polled. This prevents the image_loader from flashing a new FPGA image, this patch enables this.
* mpm: python: Move from Boost.Python to PyBind11Martin Braun2019-04-0215-268/+126
|
* uhd-dpdk: Wait for links to come up before poking MPMAlex Williams2019-04-021-4/+12
| | | | | | | | | | Occasionally, MPM would check its links before the kernel would report link up, and it would then shave those ports off the CHDR link list prematurely. This commit adds a second of wait to allow the kernel time to respond. It also includes some additional reporting of link status, since Intel PMDs may report a misleading initial state upon bring-up.
* utils: Add scope_exit objectMartin Braun2019-04-014-0/+102
| | | | | | | This is a utility for RAII-style operations. An object that will run code when a scope is left. Also includes unit tests.
* gpsd: fix API for 'gps_read'Michael Dickens2019-03-291-0/+4
|
* docs: Fix various typosf380cedric2019-03-281-12/+12
| | | | | - Missing <br> - Missing spaces between units and values (e.g. 10MHz -> 10 MHz)
* cmake: Add unit testing framework to MPMToni Jones2019-03-265-0/+244
| | | | | | | Add unit testing framework to MPM which can be run by calling "make test". The testing is done using the built in unittest Python module. Tests can be run on a dev machine or on the USRP itself when compiling natively.
* TwinRX: Fix duplicate write to N value in DDCmichael-west2019-03-261-2/+1
| | | | | | | The N value was getting written twice and the second value being written was 1, which works for all use cases except when using TwinRX. This change fixes several issues with TwinRX including streaming failing to stop cleanly and incorrect decimation.
* docs: n320: Add note on LO input levelsMartin Braun2019-03-261-0/+3
| | | | FYI, the nominal LO input level on N320 is +5 dBm.
* utils: Change UHD_INLINE to inline in dirty_tracked.hppMartin Braun2019-03-251-7/+7
| | | | | This avoids having to include config.hpp. Also, the UHD_INLINE should be avoided in favour of either inline, or UHD_FORCE_INLINE.
* docs: Fix typo for dpdk-num-mbufs and add config file locationAlex Williams2019-03-251-3/+7
|
* python: Add operators and get_full_secs() to time_spec_tMartin Braun2019-03-221-2/+6
| | | | This exposes existing operators and API calls from C++ into Python.
* mpm: python: Clean out cruftMartin Braun2019-03-213-64/+0
| | | | Remove some unused files.
* mpm: cmake: Clean out top-level CMake fileMartin Braun2019-03-211-43/+30
| | | | | This file contained a whole lot of copy pasta from during its inception. Removed all the special cases for Windows, MinGW, and RedHat.
* clang-format: Break after templatesMartin Braun2019-03-212-2/+2
| | | | | | | | | | | Before, code would get formatted thus: template <typename T> class X {} Now, it gets formatted as such: template <typename T> class X {}
* uhd: Remove cal containersMartin Braun2019-03-2012-786/+0
| | | | | They are currently unused, and may need reimplementation. For the time being, they can go out of the codebase.
* lib: Allow "0" and "1" as false/true values for constrained device argsMartin Braun2019-03-201-2/+6
| | | | | | | | | | Example: $ uhd_usrp_probe --args type=x300,ignore_cal_file=0 is equivalent to (the currently supported): $ uhd_usrp_probe --args type=x300,ignore_cal_file=false
* github: comment out instructions in Issue TemplateBrent Stapleton2019-03-181-12/+12
| | | | | Commenting out instructions in the Github Issue template, so that they're not rendered if a submitter forgets to delete them.