| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Now matches the FPGA error message (go download, then run
uhd_image_loader).
|
| |
|
|
|
|
|
| |
Change the RB_FIFOSIZE register to store the FIFO size in bytes
instead of log2 of bytes.
|
|
|
|
|
| |
- AMP_LO1_EN_CH1 controls U2, the amp for the external LO1 port, so it must
be set high if channel 2 is using an external LO (external or reimport)
|
|
|
|
|
|
| |
This is a common message that will always occur during device init when
there is no RIO device available. Because it looks like an error, it
confuses people and was thus reduced to TRACE.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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);
|
| |
|
|
|
|
| |
No functional changes. Cleanup only. A little less Boost.
|
|
|
|
|
|
|
|
|
|
| |
You can now change the time/clock source default through device args:
auto usrp = uhd::usrp::multi_usrp::make(
"type=x300,clock_source=external,time_source=external");
This also enables the use of config files for the clock/time source
implicitly.
|
|
|
|
|
|
|
| |
x300_impl will now use a constrained_device_args_t-derived object to
parse device args.
No API or functional changes.
|
|
|
|
|
| |
- Add default parser helper
- Allow _enforce_discrete() for str_arg
|
|
|
|
|
|
|
| |
Also puts all defaults into the uhd::usrp::x300 namespace.
This commit does some renaming and refactoring, but no functional
changes.
|
|
|
|
|
|
| |
- Change RX/TX min/max frequency according to AD9361 datasheet
- Fix set_atr_bits to change with rx/tx frequency and antenna independently
- Make AMP switching active high
|
| |
|
|
|
|
|
|
|
|
|
| |
- The flushing mechanism now looks similar to that in noc_shell
- Make use of new flush bit in FIFO control register
- Restrict using the clear bit only after flushing to ensure no
partial packets are introduced in the stream. (clear immediately
empties out FIFOs)
- Changes are backwards compatible with older FPGAs
|
| |
|
| |
|
|
|
|
|
| |
Before, setting these properties in the prop tree would trigger an
exception.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This device is the only one using it, and no one will ever use it going
forward.
|
|
|
|
| |
- This bug could cause LO to not lock properly after a set_frequency call
|
| |
|
| |
|
|
|
|
| |
This will broadcast on all interfaces concurrently, instead of serially.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
send_buff_size is now constrained to input fifo size, and we increase
timeout on getting flow control to reduce CPU usage.
|
|
|
|
|
| |
This is to allow for num_recv_frames=1 and reduce conversions from ticks
to time_spec_t to improve critical path performance.
|
|
|
|
|
| |
This is to avoid underruns caused by flow control packets being blocked
by data packets at high rates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Check for ALL_LOS in the property tree before checking if its set to
external. This warning is only applicable to the TwinRX, so its fine to
only look for the ALL_LOS property.
|
|
|
|
| |
Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
|
|
|
|
| |
Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Coerces recv_frame_size to size of words (8 bytes) to prevent
USB_TRANSFER_OVERFLOW error.
|
|
|
|
|
|
| |
This commit will fix power issues with 2 radios configuration (UHD 3.12+).
Removed unused _master boolean.
CPLD path are now correct, each radio has its own CPLD object.
|