Marc Majoral
80ccad790d
do not write the signal source gain if the AGC is enabled when using the AD9361.
2021-09-14 17:46:52 +02:00
Carles Fernandez
dd60bcf986
Replace usage of BOOST_FOREACH macro by a C++ range for
2021-02-24 11:54:57 +01:00
Marc Majoral
b06722062d
removed unused header files
2021-02-18 18:46:59 +01:00
Carles Fernandez
8e23c60fca
Do not warn users twice about the overflow
...
clang-tidy checks applied: modernize-redundant-void-arg, performance-unnecessary-value-param
2021-02-18 13:17:46 +01:00
Marc Majoral
e4de9c54de
do not stop the receiver when buffer overflow is detected.
2021-02-18 12:32:44 +01:00
Carles Fernandez
19c03edf1f
Update file header
2021-02-16 16:42:10 +01:00
Marc Majoral
440e8f1b3c
log FPGA buffer overflow with severity level ERROR + add some comments.
2021-02-15 22:27:03 +01:00
Marc Majoral
b279c3bcbd
replace exception by receiver stop command
2021-02-15 21:44:05 +01:00
Marc Majoral
c0e4b2aee5
dump the buffer monitor results to a file
2021-02-15 11:53:16 +01:00
Marc Majoral
d8c41a7171
removed whitespace
2021-02-14 13:40:52 +01:00
Marc Majoral
a3d2763970
removed header file
2021-02-13 17:29:30 +01:00
Marc Majoral
03e8f97d2e
real-time FPGA receiver buffer monitoring
2021-02-13 17:10:43 +01:00
Carles Fernandez
ecf20d38d6
Merge branch 'clang-tidy-fgpa' into next
2021-01-25 22:17:08 +01:00
Carles Fernandez
d6d1fff743
Apply clang-tidy fixes when -DENABLE_FPGA=ON
2021-01-25 22:07:59 +01:00
Carles Fernandez
2f627581ef
Fix error handling issues detected by Coverity Scan 2020.09
2021-01-25 13:35:47 +01:00
Carles Fernandez
7308745f05
Apply more concise file header format
...
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez
f0e1ef6f9a
Add a common shared pointer definition
...
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez
287284261c
Make use of Doxygen grouping feature
...
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Marc Majoral
47c23b2738
fix dynamic bit selection threshold
2020-09-23 16:49:11 +02:00
Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
08fa55c585
Add missing includes, use \n instead of endl
2020-07-16 19:07:58 +02:00
Marc Majoral
98f1287f0e
dynamic bit selection based on the estimated power of the received signal.
2020-07-16 15:42:55 +02:00
Carles Fernandez
09bcd1981c
Replace std::endl by \n character. There is no need to always flush the stream.
2020-07-07 18:53:50 +02:00
Carles Fernandez
03d350551f
Sort private members in headers
2020-06-26 22:07:41 +02:00
Carles Fernandez
afa16c6769
Remove sleeps
2020-06-20 22:18:38 +02:00
Carles Fernandez
87989ead0a
Fix for clang-tidy
2020-06-19 15:37:28 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
...
Avoid indirection caused by passing shared_ptr by reference
The block factory does not have responsability on the lifetime of their inputs
Define std::make_unique when using C++11 and make use of it
Printers are turned into unique_ptr to express ownership
Printers do not participate on the lifelime of the data, so they take const raw pointers
Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names
2020-06-13 00:32:40 +02:00
Carles Fernandez
2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto
2020-06-08 20:04:01 +02:00
Carles Fernandez
3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers
2020-04-02 23:59:35 +02:00
Carles Fernandez
5f974a8f17
Replace boost::shared_ptr by std::shared_ptr
2020-04-02 13:23:20 +02:00
Carles Fernandez
299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
...
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez
c470d43432
Fix shadowed variables
...
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez
2ded19342f
Improve headers
2020-02-12 00:04:29 +01:00
Carles Fernandez
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments)
2020-02-11 21:47:13 +01:00
Carles Fernandez
955348b080
Remove trailing underscore in header guards
2020-02-08 10:10:46 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/ )
...
Update license headers to SPDX format (see https://spdx.org/ )
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links)
2020-02-05 21:24:46 +01:00
Carles Fernandez
a9b0ff184d
Add energy-saving options for AD9361
...
New flag rf_shutdown, true by default, allows setting the RX and TX streams ON when set to false.
New parameters rx1_enable and rx2_enable, true by default, allow to disable the secondary RX channel when not used
2019-10-13 23:38:06 +02:00
Carles Fernandez
3f21367587
Fix building in some configurations
2019-10-10 10:40:37 +02:00
Carles Fernandez
a6c6e53982
Fix building in Debian Buster
2019-10-10 07:38:27 +02:00
Carles Fernandez
8eca3f7cf0
Fix debian10 building
2019-10-09 22:55:20 +02:00
Carles Fernandez
94bef678af
Set definition to PRIVATE
2019-10-09 22:24:29 +02:00
Carles Fernandez
b0c00eb5b0
Fix for old versions of libad9361
2019-10-09 22:08:08 +02:00
Carles Fernandez
54698bd211
Apply clang-format
2019-10-09 21:15:20 +02:00
Carles Fernandez
fb0093aaab
clang-tidy: apply performance-unnecessary-value-param fix
2019-10-09 21:13:28 +02:00
Carles Fernandez
e4a39188f5
Implement FIR filter configuration
2019-10-09 20:50:06 +02:00
Carles Fernandez
c081c2ea57
Add work on FIR configuration
2019-10-09 19:05:31 +02:00
Carles Fernandez
43a8090dc6
Add work in the AD9361 manager
2019-10-09 09:18:29 +02:00
Carles Fernandez
09078b6486
Implement more conf options for AD9361 FIR filters, work in progress
2019-10-08 19:34:18 +02:00