aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* docs: Add comment on chmod+x for SDKs if necessaryMartin Braun2019-03-142-6/+19
| | | | | There are cases where downloading the SDK does not preserve the 'x' bits for the SDK .sh file. This explains how to circumvent that problem.
* lmx2592: fixup for correct frequency borderstvogel-nid2019-03-131-2/+2
| | | | | LMX2592 frequency borders were missing the correct exponent ('e6') in some cases.
* uhd: mpm: update all license header w/ "-or-later"Brent Stapleton2019-03-0872-72/+72
| | | | Updating all SPDX license identifiers to include "-or-later"
* python: change CMake variable for library extBrent Stapleton2019-03-061-1/+1
| | | | | | | Changing the CMake variable used in determining the extension of the Python API library for better cross-platform support. Specifically, `CMAKE_SHARED_MODULE_SUFFIX` corresponds to .so for *nix and MacOS, which is the extension Python expects.
* docs: n310: Add table to explain module and PCB revisionsMartin Braun2019-03-051-0/+20
|
* RFNoC: Remove incorrect flushMichael West2019-03-051-19/+0
| | | | | | | | | | | | Removing the flush in configure_flow_control_out(). The flush is done incorrectly because it just disables flow control and allows packets to dump onto the crossbar, which could lock it up. It is also incorrect to flush when connecting blocks. A connect should just configure the SID and flow control and let any existing data flow to the newly connected block. Flushing of a block should only be done during creation or destruction of the block. Signed-off-by: Michael West <michael.west@ettus.com>
* Revert "RFNoC: Fix flush in source_block_ctrl_base"Michael West2019-03-052-4/+21
| | | | | | This reverts commit 655b9b0f8e8f8556d434404da51aaccd124bbc3a. Signed-off-by: Michael West <michael.west@ettus.com>
* x300: Change PLL CP currents in x300_clock_ctrlmguyler-ni2019-02-281-8/+8
| | | | | - modify PLL charge pump values to improve phase coherence - affects reference clocks of 11.52 MHz, 23.04 MHz, and 30.72 MHz
* x300: device args: Removed invalid 200 MHz sysref rateMartin Braun2019-02-281-1/+1
|
* docs: x300: Add notes on external reference frequenciesMartin Braun2019-02-282-2/+12
|
* x300: Catch more inconsistencies in x300_device_argsMartin Braun2019-02-282-3/+24
| | | | | | - ADC self test had magic numbers for default duration - resource and addr can be no longer be both specified without a warning - second_addr requires addr now, or you get a warning
* x300: Enable x300_device_args.to_string()Martin Braun2019-02-281-2/+31
| | | | | Before, it was only returning the master clock rate. Note: This function is never used in UHD, this is merely for completion's sake.
* x300: Enable 11.52 MHz and 23.04 MHz system ref ratesMartin Braun2019-02-281-1/+2
| | | | | | | | The addition of the constrained device args didn't account for those rates, and thus, they were effectively unusuable ever since. This adds those rates back as valid system ref rates. This does not touch the actual clocking code in any way, x300_clock_control has supported those rates for a while now.
* lib: Fix various type-conversion compiler warningsMartin Braun2019-02-285-7/+9
| | | | | This makes more type-conversions explicit, to reduce the number of warnings specifically for MSVC.
* include: max287x: Fix conversion warningMartin Braun2019-02-281-1/+1
|
* types: sid: Remove duplicate operator=()Martin Braun2019-02-282-6/+3
| | | | | This fixes a warning about multiple operators. Doesn't change any functionality.
* fixup! python: Replace Boost.Python with PyBind11Martin Braun2019-02-281-0/+1
| | | | | TuneRequest() was not set up to handle an optional second argument in the constructor.
* rh: Fix typo in setting up RX frontendAlex Williams2019-02-271-1/+1
| | | | | | The function for setting up the RX frontend was erroneously looking at previous TX settings to determine whether to submit a command. This fixes the issue.
* doc: n3xx: fixed typo in image name (SD card build)Jörg Hofrichter2019-02-271-1/+1
| | | | | Image name to be provided to bitbake command are named 'developer-image' and 'deployment-image' i.e. with dash, not with underscore
* transport: udp: Fix buffer size warningLars Amsel2019-02-271-2/+2
| | | | | | When using a buffer size smaller than recommended, a warning would be printed with the wrong value (it would print the default value, not the actual value).
* python: cmake: Use native format for setup.pyTrung Tran2019-02-252-2/+3
| | | | | | | setuptools isn't compatible with Unix style path on Windows 10 machines. We need to convert any path before running setuptools. Signed-off-by: Trung Tran <trung.tran@ettus.com>
* lib: cmake: Fix MSVC options (add /bigobj)Trung Tran2019-02-251-1/+1
| | | | | | | | | MP and bigobj should be at compile options level instead of compile_flags(which are at target properties level). We have been setting these options incorrectly. They are currently not applied to any project. Signed-off-by: Trung Tran <trung.tran@ettus.com>
* python: Replace Boost.Python with PyBind11Martin Braun2019-02-2219-852/+337
| | | | | | This does not change the Python API itself, but it is still a significant change. Most importantly, it removes the dependency on Boost.Python.
* deps: Add PyBind11Martin Braun2019-02-2230-1/+12341
|
* mpm: rpc_server: Improve error message on double-claimMartin Braun2019-02-221-2/+5
| | | | | The error message will now include the IP address of the client trying to double-claim a device.
* mpm: rhodium: Fix clock value log formattingMartin Braun2019-02-221-2/+3
| | | | | Before, the log messages would occasionally print 6 digits worth of precision for sample clock values that only require 2.