| Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Armin Ghani <ghani.armin@gmail.com>
|
|
Upstream fixed the issue in version 2.0.0,
the minimal version gnuradio depends on.
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
|
|
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
Signed-off-by: Clayton Smith <argilo@gmail.com>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
* qtgui: freq_sink waterfall_sink sink: Add bounds checking to GRC bindings
In addition:
fftsize starts in the runtime gui of the f/c sink with 512.
Adjust it to 32 , as in freq_sink_f/c
Check inside the sink_(f/c) block, if the fftsize is valid, to avoid core dump.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* qtgui: freq_sink waterfall_sink sink: Add power-of-two check to GRC bindings
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
* gr-qtgui: Frequency sink freezes the running flowgraph
With #5405 the segfault of freq_sink_c was fixed, but
if you enable the control panel and change the FFT size to 8192
while the flow graph is running, the whole flowgraph freezes.
This patch:
- fixes the freeze
- extends the fftsize to 32768 for freq_sink_c and freq_sink_f
- changes the entry for fftsize in the corresponding yml files from integer to enum
and provides a drop down menu with those values that are provided by the gui
in the running flowgraph.
The code provides code for setting the fftsize in form_menus.h and in freqcontrolpanel.cc
If you change some signal and slots you can do without the code from form_menus.h.
So this part is removed.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Keep fftsize list, but move type back to int
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Use const vars for fft range.
Build the fftsize list from those vars
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* As the fftsize must not be taken from the dropdown menu
but can be set to a variable, check if the value belongs
to the dropdown menu, otherwise select the greatest value
in the menu < given fftsize.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* qtgui: fixed error text on freq sinks
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* qtgui: add assert into freq grc file
Co-authored-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
Signed-off-by: Thomas Habets <habets@google.com>
|
|
Signed-off-by: Thomas Habets <habets@google.com>
|
|
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: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
* gnuradio: replace deprecated distutils
Check if python packaging is available
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Add packaging requirement
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
Signed-off-by: Clayton Smith <argilo@gmail.com>
|
|
Signed-off-by: maswx <masw@masw.tech>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Aditya Thomas <sepia_tone@protonmail.com>
|
|
* cmake: Maintain compiler settings at one point.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Nick M <taclane@users.noreply.github.com>
|
|
Signed-off-by: Nick M <taclane@users.noreply.github.com>
|
|
Signed-off-by: Nick M <taclane@users.noreply.github.com>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
This removes a use of boost and fixes the failing build (due to missing
the boost::scoped_array header, how did this work before?).
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
Also fix linking in the Linux build by depending on sysroot_linux-64
2.17, which ensures compatibility with the now-default version of libusb
(pulled in by libiio and uhd).
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
Regardless of how spdlog was built (with/without SPDLOG_FMT_EXTERNAL),
this ensures that the proper fmt headers are included. This makes it so
that fmt is not a required dependency when spdlog is built with
SPDLOG_FMT_EXTERNAL=OFF.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
* uhd: pybind rfnoc_block
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
* uhd: pybind rfnoc_rx/tx_radio
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
* uhd: pybind rfnoc_ddc/duc
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
* Fix TypeError: set_freq(): incompatible function arguments
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
* uhd: rfnoc_rx/tx_streamer: Fix AttributeError
'gnuradio.uhd.uhd_python.rfnoc_rx_streamer' object has no attribute 'to_basic_block'
Signed-off-by: André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de>
|
|
Also repair FILTER_PATTERNS and add referenced file.
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
The default value is 5, so earlier versions of doxygen should produce
the same output.
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
The TCP and UDP blocks segfault if start() is called after stop(),
because stop() frees resources that are not re-allocated by start(). To
fix this, I've moved resource allocation for these blocks from the
constructor to start().
Signed-off-by: Clayton Smith <argilo@gmail.com>
|
|
Remake of the commits proposed to maint-3.8 to support the latest versions of bokeh.
Signed-off-by: Cyrille Morin <barthy42@laposte.net>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
* When cross compiling gnuradio, change how the test files are built.
Normally, the gnuradio QA code expects to run in the build tree. For the
cross compilng case, we cannot run the QA code during the build process.
The changes here allow the creation of an additional package that can be
installed on a target that will run the QA code against the installed
libraries.
Major changes are not using full paths to test files (since they include
paths that only exist on the build machine) and not setting environment
variables in the shell files to force the QA code to use code in the
build tree.
This patch disables the C++ only tests, these need some work and then they
can be added back for the cross compile case.
Signed-off-by: Philip Balister <philip@balister.org>
|
|
* qa_nlog10.py: Update test to check for equal with one less decimal place.
On the qemu machines built with OpenEmbedded, this test failed if
the check was 5 decimal places. Relaxing to 4 lets the test pass.
The volk routines used in the implementation pass QA already.
Signed-off-by: Philip Balister <philip@balister.org>
* Update QA tests to import helper routines from blocks.
The file metadata QA installs a file in blocks, but imported it
directly. Updated init.py to import via blocks. matrix interleaver
imported some routines from a py file that was available via blocks.
These cretaed issues when you install the qa tests in images to run
them outside the build area.
Signed-off-by: Philip Balister <philip@balister.org>
* python formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Co-authored-by: Josh Morman <jmorman@gnuradio.org>
|
|
ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0x631000014800
#0 0x7ffbdc10f9d7 in operator delete(void*, unsigned long) (/lib64/libasan.so.6+0xad9d7)
#1 0x7ffbd8a6646f in std::default_delete<char>::operator()(char*) const /usr/include/c++/10/bits/unique_ptr.h:85
#2 0x7ffbd8a6646f in std::unique_ptr<char, std::default_delete<char> >::~unique_ptr() /usr/include/c++/10/bits/unique_ptr.h:361
#3 0x7ffbd8a6646f in gr::buffer_single_mapped::~buffer_single_mapped() /home/user/src/gnuradio/gnuradio-runtime/lib/buffer_single_mapped.cc:46
#4 0x7ffbd8c805c4 in gr::host_buffer::~host_buffer() /home/user/src/gnuradio/gnuradio-runtime/lib/host_buffer.cc:65
0x631000014800 is located 0 bytes inside of 65536-byte region [0x631000014800,0x631000024800)
allocated by thread T0 here:
#0 0x7ffbdc10ecb7 in operator new[](unsigned long) (/lib64/libasan.so.6+0xaccb7)
#1 0x7ffbd8c73a60 in gr::host_buffer::do_allocate_buffer(unsigned long, unsigned long) /home/user/src/gnuradio/gnuradio-runtime/lib/host_buffer.cc:119
#2 0x7ffbd8fdaebf (/home/user/src/gnuradio/build/gnuradio-runtime/lib/libgnuradio-runtime.so.3.10.0git+0x3475ebf)
Signed-off-by: Vasil Velichkov <vvvelichkov@gmail.com>
|
|
ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0x631000028800
#0 0x7f87c88129d7 in operator delete(void*, unsigned long) (/lib64/libasan.so.6+0xad9d7)
#1 0x7f87c5378c57 in std::default_delete<char>::operator()(char*) const /usr/include/c++/10/bits/unique_ptr.h:85
#2 0x7f87c5378c57 in std::unique_ptr<char, std::default_delete<char> >::~unique_ptr() /usr/include/c++/10/bits/unique_ptr.h:361
#3 0x7f87c5378c57 in gr::host_buffer::~host_buffer() /home/user/src/gnuradio/gnuradio-runtime/lib/host_buffer.cc:65
#4 0x7f87c5384654 in gr::host_buffer::~host_buffer() /home/user/src/gnuradio/gnuradio-runtime/lib/host_buffer.cc:65
0x631000028800 is located 0 bytes inside of 65536-byte region [0x631000028800,0x631000038800)
allocated by thread T0 here:
#0 0x7f87c8811cb7 in operator new[](unsigned long) (/lib64/libasan.so.6+0xaccb7)
#1 0x7f87c5377a7a in gr::host_buffer::do_allocate_buffer(unsigned long, unsigned long) /home/user/src/gnuradio/gnuradio-runtime/lib/host_buffer.cc:123
#2 0x7f87c56deebf (/home/user/src/gnuradio/build/gnuradio-runtime/lib/libgnuradio-runtime.so.3.10.0git+0x3475ebf)
Signed-off-by: Vasil Velichkov <vvvelichkov@gmail.com>
|
|
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|