| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This is needed for E31x with thermal sensors on different
subsystems e.g. iio, hwmon.
|
|
|
|
|
| |
When running 'make test_***', it now also defaults to
RUNTIME_PYTHON_EXECUTABLE.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This removes all version hacks that were required for Boost versions
1.53 through 1.58 (since we now require 1.58).
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
| |
- Update MB EEPROM
- Add bootloader load command to fx3 util
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
`clang-format -i --style=file host/lib/utils/log.cpp`
|
|
|
|
|
| |
- Adds custom bootloader code
- Refactor common functions in firmware and bootloader
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
dpdk_zero_copy.hpp was referenced in multiple places using relative
paths. Let's throw it in uhdlib for easy access.
|
|
|
|
|
| |
Use dpdk_simple together with a control transport factory.
Where udp_zero_copy is used, use dpdk_zero_copy if use_dpdk=1.
|
|
|
|
| |
With the same APIs, this will make it easier to add support for X310.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This is a utility for RAII-style operations. An object that will run
code when a scope is left.
Also includes unit tests.
|
| |
|
|
|
|
|
| |
- Missing <br>
- Missing spaces between units and values (e.g. 10MHz -> 10 MHz)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
FYI, the nominal LO input level on N320 is +5 dBm.
|
|
|
|
|
| |
This avoids having to include config.hpp. Also, the UHD_INLINE should be
avoided in favour of either inline, or UHD_FORCE_INLINE.
|
| |
|
|
|
|
| |
This exposes existing operators and API calls from C++ into Python.
|
|
|
|
| |
Remove some unused files.
|
|
|
|
|
| |
This file contained a whole lot of copy pasta from during its inception.
Removed all the special cases for Windows, MinGW, and RedHat.
|
|
|
|
|
|
|
|
|
|
|
| |
Before, code would get formatted thus:
template <typename T> class X {}
Now, it gets formatted as such:
template <typename T>
class X {}
|
|
|
|
|
| |
They are currently unused, and may need reimplementation. For the time
being, they can go out of the codebase.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Commenting out instructions in the Github Issue template, so that
they're not rendered if a submitter forgets to delete them.
|
|
|
|
|
| |
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 frequency borders were missing the correct exponent ('e6') in
some cases.
|
|
|
|
| |
Updating all SPDX license identifiers to include "-or-later"
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This reverts commit 655b9b0f8e8f8556d434404da51aaccd124bbc3a.
Signed-off-by: Michael West <michael.west@ettus.com>
|
|
|
|
|
| |
- modify PLL charge pump values to improve phase coherence
- affects reference clocks of 11.52 MHz, 23.04 MHz, and 30.72 MHz
|
| |
|
| |
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Before, it was only returning the master clock rate. Note: This function
is never used in UHD, this is merely for completion's sake.
|
|
|
|
|
|
|
|
| |
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.
|