| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the fields are hidden, and the expected global variable is
undefined, the flow graph becomes unsynthesizable.
I've only found this pattern with IIO blocks.
Sadly, we *have* to put defaults here, in order to have valid arguments
to the (useless) set_filter_params call in the non-Design filter mode.
Since the fpass and fstop fields, however, aren't used, the actual value
used there doesn't matter – so, 0 it is.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
| |
also: enable formerly disabled qa_logger tests
This replaces log4cpp with spdlog.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
| |
This commit replaces many uses of std::c{out,err} and printf with the
appropriate GR_LOG_* directives.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fmcomms2 source/sink were wrapped with hier blocks that were used as
the basis for the pluto blocks
This templatizes the fmcomms2 blocks so they can be directly used, and
since the pluto block is so close to the fmcomms block, just use grc as
the wrapper around it
fmcomms2/pluto can also now be used as sc16 or fc32
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pluto source / sink fails to set hardwaregain with
gr::log :WARN: iio::device::set_params - Unable to write attribute in_voltage0_hardwaregain: -22
gr::log :WARN: iio::device::set_params - Unable to write attribute out_voltage0_hardwaregain: -22
gain values are treated as double. The conversion std::to_string() uses the locale setting.
So in the US std::to_string(10.) leads to "10.0" while in Germany the result is "10,0" which the pluto handles as error.
This problem only exists if real values are converted. So check if the converted string contains a , as separator and change it to a dot .
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
| |
This commit cleans up unused headers (cstdio) and replaces all instances
of std::cout and std::cerr with the corresponding GR_LOG_* invocation.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
| |
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This PR adds stream tagging support to the device_source and device_sink
blocks, and thus also deriviates like the fmcomms2 and pluto.
The important bits are:
* The source block now tags buffer boundaries
* When tagged_input is enabled on the device sink, it enforces that all
input packet sizes match buffer_size / (1 + interpolation). This isn't
very flexible, but can be understood as a safeguard against unexpected
behavior.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit fixes the flags for hardware connected blocks to include
"throttle", which prevents the following warning from being emitted
erroneously:
>>> Warning: This flow graph may not have flow control: no audio or RF
hardware blocks found. Add a Misc->Throttle block to your flow graph to
avoid CPU congestion.
Additionally, the python flag is added to all blocks for consistency.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
|
| |
Hopefully, we can later on absorb that in a version check, so that it's sensible to check this in CMakeLists instead of Findad9361
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
| |
Remove non working examples.
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
| |
gr-iio depends on libiio (and not on IIO) and conditionally from libad9361.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactoring.
Remove parameter `required_enable`.
This was unused and during testing was set to:
`required_enable == false`
This code path has never been used and or tested. We have concluded
after investigating and testing, this could safely be removed
to enable a cleaner API.
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|
|
|
|
|
|
|
|
|
|
| |
Run clang-format.
```
find . -iname '*.cc' -o -iname '*.h' | xargs clang-format -i
```
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Advanced filter configurations are now possible through the Pluto and
FMComms2 sink blocks. This includes filter designer controls and support
for the DEC8/INT8 filters now able in 2019-R2 releases from ADI. Pluto's
DEC8/INT8 filters have exists since very early firmware images.
This will also fix errors related to setting the sample rate like
"Unable to set out_voltage_sampling_frequency" since this update
properly sets the filters on sinks.
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
|
|
| |
rather than complex constructors and a catch all set_params, construct
with the minimum amount of parameters and then have them individually
settable
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
| |
Taken from PR #4465.
Co-authored-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This standardizes the CMake Find module names for libiio and libad9361
to use the pkg-config names and what the projects use internally as
their CMake "project" names. The CMake variables that are set in the
Find modules are also changed to match, per CMake convention.
This also adds and uses targets for libiio::iio and libad9361::ad9361,
removing the need for extra steps like setting a local include directory
for libiio on the gnuradio-iio target (PR #4465).
I also added pkg-config checks for added search breadth and headed off
Windows problems by adding the not-searched "libiio" and "libad9361"
library names that are used there.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
|
|
| |
Remove use of Boost where possible and use std.
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|
|
Co-authored-by: Edward Kigwana <ekigwana@scires.com>
Co-authored-by: Travis Collins <travis.collins@analog.com>
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|