| 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was broken when converting from BOOST_FOREACH to a range-based
for loop.
Without this fix, the board initialization would crash with an error
like this:
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable
error in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
|
|
|
|
|
|
|
| |
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
Special CAL RX antenna rule: keep mixer enabled to reduce transients.
0 dB gains settings for RX and TX to deal with RFX sensitivity range.
|
|\ |
|
| |
| |
| |
| | |
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
|
|
|
|
| |
Added CAL antenna to WBX, SBX and RFX
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
There seems to be some issue using lower clock rates, at least on E100,
I am reverting this now until I can figure out why it happens,
or until I can find a more stable way to offer this feature.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
only the assert has implementation is in this header
uhd assert throw moved to the exception header
updated code base includes to match
|
|\ |
|
| |
| |
| |
| | |
locked
|
|/
|
|
|
| |
RFX400 POWER_IO needs to be pulled up (pull down for other RFX)
RFX400 RX Mixer has div2 built in, so no output div2 for RFX400 RX
|
| |
|
|
|
|
| |
double, simplifies life
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Additional typo cleanup and fix WBX bandwidth
|
|
|
|
|
|
| |
renamed print warning calls in the implementation
fixed issue with dict::pop so it now works even if the value is not comparable
|
|
|
|
|
| |
Updated existing bandwidth property to reflect double-sided
bandwidth rather than lowpass bandwidth
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
simplifies the code after the property set/get declaration
|
| |
|
| |
|
| |
|
|
|
|
| |
(it wasnt used)
|