| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The checks from the new clang-tidy file are applied to the source tree
using:
$ find . -name "*.cpp" | sort -u | xargs \
--max-procs 8 --max-args 1 clang-tidy --format-style=file \
--fix -p /path/to/compile_commands.json
Note: This is the same procedure as 107a49c0, but applied to all the new
code since then.
|
|
|
|
|
| |
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note: Replacing everything with a lambda would be even better, but that
can't be easily scripted so we'll do this as a first step to reduce the
Boost footprint.
This also removes occurences of #include <boost/bind.hpp>, and makes
sure all usages of std::bind have an #include <functional>. clang-format
wasn't always applied to minimize the changeset in this commit, however,
it was applied to the blocks of #includes.
Due to conflicts with other Boost libraries, the placeholders _1, _2,
etc. could not be directly used, but had to be explicitly called out
(as std::placeholders::_1, etc.). This makes the use of std::bind even
uglier, which serves as another reminder that using std::bind (and even
more so, boost::bind) should be avoided.
nirio/rpc/rpc_client.cpp still contains a reference to boost::bind. It
was not possible to remove it by simply doing a search and replace, so
it will be removed in a separate commit.
|
|
|
|
| |
Replace with std::this_thread::sleep_for().
|
|
|
|
|
|
|
| |
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
|
| |
|
|\ |
|
| |
| |
| |
| | |
This reverts commit 60920644aa33d1a6f7a4dac30bdb890b9bc4301f.
|
| | |
|
| | |
|
|/
|
|
|
| |
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
|
|
|
|
|
|
|
|
| |
types)
- Also removes all references to boost/cstdint.hpp and replaces it with
stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
compilers support that).
|
| |
|
|
|
|
|
| |
On the USRP2 and N2x0, these values are the same, but on the X3x0, they
might differ.
|
|
|
|
|
| |
- Interface and all base classes have virtual destructors
- Wrapped UBX dtor in UHD_SAFE_CALL
|
|
|
|
|
|
|
|
|
| |
- Added desired and coerced values and accessors to property
- Added support to register desired subscribers
- set APIs don't reallocate storage for a property value
- Renamed callback method registration APIs
- Registering 2 coercers or publishers for a property will throw
- Registering a coercer and a publisher for the same property will throw
|
|
|
|
|
|
|
|
| |
- Refactored GPIO ATR definitions
- Added new 3000 core with a more efficient API
- Added a separate db_gpio_atr core to control the ATR bus
- Ported b2xx, e3xx and x3xx to the new core
- Minor cleanup
|
|\ |
|
| | |
|
| | |
|
|\| |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
XCVR2450 has a common LO for RX and TX.
The use LO offset should be the same for both sides.
When different, a tune for one side will override the other side,
because the DSP will not know the compensation factor after the other side is tuned.
Setting both use_lo_offset to false is how this was pre 3.4 release.
|
|/
|
|
| |
dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc)
|
|
|
|
|
|
| |
Improve incorrect calculation in XCVR
Remove RFX rssi sensor due to limited dynamic range giving strange
results
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Ported:
Basic/LF
Unknown
XCVR
DBSRX
DBSRX2
TVRX
TVRX2
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The message api can support warnings, error, and status messages.
The default handler is to stdio, but the user can change this.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Documented dboard sensors
Documented DBSRX2
Added description of direct conversion vs low IF for each dboard
Added E1xx docs for adding refclock and pps connectors
XCVR rssi calculation was in unscaled dB units
Used chart in datasheet (pg 16) to rescale to dBm
|
| |
|
|
|
|
|
|
|
|
| |
only the assert has implementation is in this header
uhd assert throw moved to the exception header
updated code base includes to match
|
|
|
|
| |
locked
|
|
|
|
| |
double, simplifies life
|
| |
|
|
|
|
| |
avoid trouble with compiler portability
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
created a templated range that that holds a start, stop, and step
created a meta-range template that is a vector of ranges
meta-range can calculate the overall start, stop, step
or be indexed to get at components
replaced instances of range.min, max, step with the functions
start() stop() and step()
the xcvr frequency range is now expressed in as two ranges
(have to fix its clip function though)
|
|
|
|
|
| |
Updated existing bandwidth property to reflect double-sided
bandwidth rather than lowpass bandwidth
|
| |
|
|
|
|
| |
gets for BW in the wrappers
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the dboard manager will disable all subdevs at startup and shutdown
setting the subdev spec will enable only the subdevs in use
all dboards are currently implemented as always enabled
nothing tested
|