1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-09 05:56:56 +00:00
Commit Graph

398 Commits

Author SHA1 Message Date
Javier Arribas
dff91e1216 Improving Flexiband signal source multichannel configuration options 2019-03-29 17:34:06 +01:00
Marc Majoral
9d7f8be4ef Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-03-26 12:30:36 +01:00
Carles Fernandez
1b0697fdf9
Simplify script 2019-03-23 12:59:49 +01:00
Carles Fernandez
b0f971fc56
Remove wrong lines from old script 2019-03-23 11:31:53 +01:00
Marc Majoral
a24d26f427 set the default sampling frequency of the HW source to 12.5 Msps and the default bandpass bandwidth to 12.5 MHz + other minor changes 2019-03-19 10:14:09 +01:00
Carles Fernandez
8cb6b76651
Make the role name more uniform 2019-03-08 23:21:09 +01:00
Carles Fernandez
1ee044b5a9
Fix documentation 2019-03-08 23:20:08 +01:00
Carles Fernandez
dd7a52c93b
Fix headers 2019-03-06 21:54:39 +01:00
Carles Fernandez
c82c7225dd Improve includes with the aid of include-what-you-use (IWYU)
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Marc Majoral
a03ed571e6 replaced int and unsigned int by int32_t and uint32_t
removed some unused variables
2019-02-27 14:37:07 +01:00
Marc Majoral
2b6e7749a8 cleaned the source code of the FPGA switch and the FPGA tracking adapters 2019-02-26 19:30:08 +01:00
Marc Majoral
cf0a37300a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-25 19:21:00 +01:00
Carles Fernandez
3b039619cc
Uniformize header guards 2019-02-22 23:02:16 +01:00
Carles Fernandez
07259159af Apply clang-tidy checks 2019-02-22 21:34:15 +00:00
Carles Fernandez
0068740895
clang-tidy fixes 2019-02-22 22:12:44 +01:00
Carles Fernandez
13d8d19679
clang-tidy fixes 2019-02-22 22:02:37 +01:00
Carles Fernandez
30a72d5c06
Fix headers 2019-02-22 21:49:07 +01:00
Carles Fernandez
2f83d1e733
Apply clang-tidy to flexiband driver 2019-02-22 21:34:42 +01:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez
88147d4956
Fix build with Clang (not AppleClang) on macOS 2019-02-20 22:21:53 +01:00
Carles Fernandez
eedc3d5de6
clang-tidy: apply checks 2019-02-19 09:08:09 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
d8eaa98e06
Fix building 2019-02-11 19:27:14 +01:00
Carles Fernandez
c8ae93d2b8 Fix building 2019-02-11 18:36:12 +01:00
Carles Fernandez
6abebac5eb Make use of cstdint type names 2019-02-11 17:51:20 +01:00
Carles Fernandez
0707963ab5 Use cstdint type names 2019-02-11 17:17:35 +01:00
Carles Fernandez
dfc963ad86 clang-tidy: apply readability-else-after-return check
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +01:00
Carles Fernandez
4b2b205e21
Avoid throwing exceptions from destructors
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
e5b7eaa366
Reorder static dependencies 2019-02-07 23:07:24 +01:00
Carles Fernandez
60637c6125
Reorder dependencies 2019-02-07 21:31:40 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
02996bbc8a
Add some CMake fixes 2019-02-04 20:00:29 +01:00
Carles Fernandez
f13b84c86c Add more CMake modernization 2019-02-04 18:17:35 +01:00
Carles Fernandez
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
9d88b03b39
Remove unused definition 2019-02-04 08:14:38 +01:00
Carles Fernandez
d4da5d2879
Add Gflags::gflags private target 2019-02-03 20:28:49 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Marc Majoral
f127729eb0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-25 18:02:07 +01:00
Carles Fernandez
67f3680bf4
Remove lintian complaints 2018-12-14 14:17:04 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy 2018-12-11 01:56:25 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez
5485afd882
Apply fixes by clang-tidy 2018-12-10 19:29:00 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy 2018-12-10 19:05:12 +01:00
Carles Fernandez
ef201c4ccd
Add pmt and uhd to clang-format as external libraries 2018-12-10 00:18:27 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez
eb6ff88cec
clang-tidy: apply boost-use-to-string fix (see http://clang.llvm.org/extra/clang-tidy/checks/boost-use-to-string.html) 2018-12-03 23:34:29 +01:00
Carles Fernandez
327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez
1743a773b5 Improve performance by using const and std::move() to avoid unnecessary copies 2018-12-03 19:01:47 +01:00
Carles Fernandez
0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +01:00
Carles Fernandez
395f93aeff clang-tidy: apply modernize-pass-by-value fix. See http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html#modernize-pass-by-value 2018-12-03 15:43:43 +01:00
Carles Fernandez
8eec75c8ae clang-tidy: apply readability-string-compare fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-string-compare.html) 2018-12-03 12:52:17 +01:00
Carles Fernandez
96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html 2018-12-03 11:12:10 +01:00
Carles Fernandez
5f01161af6
Fix building 2018-12-02 12:24:44 +01:00
Carles Fernandez
1ed73eb2f8
Fix building 2018-12-02 12:11:59 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons 2018-12-02 05:29:11 +01:00
Marc Majoral
bd90563925 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-30 11:10:38 +01:00
Javier Arribas
1302614613 Improving SPIR GSS6450 signal source 2018-11-29 17:53:01 +01:00
Carles Fernandez
af8d93af1a
Remove unused variable 2018-11-24 18:41:36 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez
73ece1e533
Uniformize style of CMake modules 2018-11-21 08:28:50 +01:00
Carles Fernandez
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Marc Majoral
3e46f658f6 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-16 10:34:19 +01:00
Javier
57a01809cb Improving spir signal source 2018-11-11 20:25:14 +01:00
Marc Majoral
8710ba1cf7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-10-08 19:47:39 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Marc Majoral
2b15343a6a started tracking pull-in test implementation for the FPGA 2018-08-29 18:20:41 +02:00
Carles Fernandez
b2db6abdaa
Add more extensive use of cstdint typenames 2018-08-11 14:31:35 +02:00
Javier Arribas
752b4396d0 Fix inverted spectrum in unpack gss6450 block 2018-08-01 12:13:54 +02:00
Carles Fernandez
73aa89dfc6
Fix creation of acquisition blocks, fix warning of unused private member 2018-06-03 22:43:53 +02:00
Carles Fernandez
424f812790
Fix clang warnings about unused private member 2018-06-03 19:11:16 +02:00
Carles Fernandez
d40094e6e2
Clean CMake scripts 2018-05-25 20:49:45 +02:00
Carles Fernandez
d6654301c5
Fix typo 2018-05-20 00:15:22 +02:00
Carles Fernandez
fc18408f11
Avoid throwing in the destructor 2018-05-19 22:42:08 +02:00
Carles Fernandez
5076b5a683
Fix warning of unused variable 2018-05-19 21:36:17 +02:00
Carles Fernandez
b4cc22abc2
Avoid throwing in the destructor 2018-05-19 20:34:50 +02:00
Carles Fernandez
a05952c966
Initialize all members in the constructor
Replace C-style casts by C++ casts
Fixes spelling errors
Other minor cleaning for consistency
2018-05-19 20:23:48 +02:00
Carles Fernandez
76d871bc8d
Avoid throwing in the destructor 2018-05-19 19:07:00 +02:00
Carles Fernandez
eeb2893f9c
Fix GCC 8.1.1 warnings 2018-05-16 21:54:31 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes 2018-05-16 21:33:52 +02:00
Carles Fernandez
87fb81b972
Use https instead of http in links when available. Minor fixes 2018-05-16 20:00:14 +02:00
Javier Arribas
dfeb62871f Adding optional compilation of the custom UDP packet source. Disabled by default 2018-05-16 11:36:37 +02:00
Javier Arribas
bf7a3f0090 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-16 10:54:27 +02:00
Javier Arribas
df0dd82843 Optimizing custom UDP packet source and applying code style 2018-05-16 10:49:27 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Javier Arribas
bde6bd6cee Replacing GNURadio udp packet source with custom libpcap-based ethernet packet source 2018-05-11 13:21:53 +02:00
Javier Arribas
0ef3b56e22 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-10 17:57:44 +02:00
zosoworld
79170327ab Fixed rtl_tcp signal source 2018-05-04 19:54:45 +02:00
zosoworld
62198abdf4 Fixed rtl_tcp signal source deadlock 2018-05-04 19:04:09 +02:00
Javier Arribas
9912acc4f8 Adding channel selector option in config if a single RF channel is used in UDP source 2018-05-03 18:44:04 +02:00
Javier Arribas
189cded82a Adding IQ Swap options to UDP source 2018-05-02 19:48:15 +02:00
Carles Fernandez
8b390d0924
Replace boost::lexical_cast with std::to_string
Fixes in optional buildings
2018-05-01 23:32:52 +02:00
Javier Arribas
7865387df9 Adding UDP GNSS signal source block 2018-05-01 21:25:15 +02:00
Carles Fernandez
8d8ebfc6df
Remove unused includes, minor fixes 2018-05-01 12:02:50 +02:00
Carles Fernandez
43103068fd
Remove unused includes 2018-05-01 10:16:30 +02:00
Carles Fernandez
966dd699ac
Fix building with libiio but without gnuradio-iio 2018-05-01 08:40:08 +02:00
Carles Fernandez
c90ec201f2
Fix building in PYBOMBS 2018-05-01 08:33:41 +02:00
Carles Fernandez
bd81330201
Apply code formatting 2018-04-30 19:53:20 +02:00
Carles Fernandez
6d6b583169
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into mmajoral-fpga 2018-04-30 19:23:35 +02:00
Carles Fernandez
a2eb5d5344
Improve readability, reorder includes 2018-04-29 13:26:21 +02:00
Javier
ab534e7791 Fix build bug 2018-04-13 18:31:35 +02:00
Carles Fernandez
c01d8d0dd9
Move general_work to the bottom of the file 2018-04-13 11:39:05 +02:00
Javier Arribas
8e59a42ae2 Merge Next with FPGA. Adding software-defined emulation of the sample counter 2018-04-06 17:03:20 +02:00
Carles Fernandez
ac168cf274 Avoid warning 2018-04-06 09:39:11 +02:00
mmajoral
e1635a735d Added the class switch_FPGA, which controls the switch in the FPGA that connects the analog frontend and the DMA to the queues of the HW accelerators.
Removed some unused variables in the tracking.
2018-04-05 15:05:46 +02:00
Carles Fernandez
e434480c5a Fix Pybombs building 2018-03-28 15:05:15 +02:00
Carles Fernandez
a6a13cc306 Fix building in Pybombs 2018-03-28 08:35:33 +02:00
Carles Fernandez
b31f929655 Apply clang-format, fix libiio detection in MacOS 2018-03-27 21:10:31 +02:00
Javier Arribas
65713d4c82 Adding support for dual channel in FMCOMMS2 and optional Local Oscillator generation using FMCOMMS2 TX channel 2018-03-27 19:35:53 +02:00
Javier Arribas
982af827b4 Group all ad9361 configuration calls in one library 2018-03-27 19:00:25 +02:00
Javier Arribas
428a2eb1b5 Removing unused files 2018-03-27 14:44:56 +02:00
Javier Arribas
ec09016750 Adding Local Oscillator generation for dual band operation using AD9361 FPGA source. Bug fix in FPGA flowgraph 2018-03-27 14:24:07 +02:00
Carles Fernandez
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +02:00
Javier Arribas
7c406bb6eb Merging fpga with next 2018-03-05 11:03:59 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Javier Arribas
dc4c7b9551 Adding AD9361 fpga signal source 2018-03-02 11:30:36 +01:00
Carles Fernandez
658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Carles Fernandez
24f6003ba0 Remove iostream from header files
and in redundant places such as in unit tests
2018-02-25 22:49:06 +01:00
osqzss
995367d776 Add bladeRF support 2018-02-24 15:19:04 +09:00
Carles Fernandez
2b8ab9dcee Group all flags in a single file
This makes easier to document and to add new ones.
Shortened version of common files have been added:
-c for -config_file
-s for -signal_source
2018-02-18 12:23:55 +01:00
Carles Fernandez
d780de445a Small fixes 2018-02-05 11:18:06 +01:00
osqzss
1bef2bbfb5 Add LimeSDR antenna selection support 2018-02-05 15:52:22 +09:00
Antonio Ramos
9491e2a701 Remove unused include 2018-01-25 11:50:07 +01:00
Antonio Ramos
ecf94f71f1 Add 8 and 16 bits ADC compatibility 2018-01-25 11:00:23 +01:00
Carles Fernandez
8386289984 Initialize all members in the constructor 2018-01-23 22:52:15 +01:00
Carles Fernandez
80edc4313f Change header guard name for consistency 2018-01-23 21:48:42 +01:00
Carles Fernandez
9b7ce39c57 Fix wrong comments and add consistency in header guard name 2018-01-23 21:41:19 +01:00
Carles Fernandez
f6f14f246b Remove repeated and unrequired includes 2018-01-23 21:23:02 +01:00
Carles Fernandez
35c11d0120 Apply coding style 2018-01-23 20:09:39 +01:00
Carles Fernandez
2a9d6975e0 Apply coding style 2018-01-23 20:07:43 +01:00
Carles Fernandez
ef2c2bcf6b Fix building with Clang 2018-01-23 19:51:36 +01:00
Javier Arribas
84fe651f0d Adding Labsat v2 and v3 single channel signal recorder file source 2018-01-23 17:31:42 +01:00
Carles Fernandez
59bd7273ae Merge branch 'spirent_signal_source' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-spirent_signal_source 2018-01-22 12:40:19 +01:00
Antonio Ramos
0dab500fb0 Update author 2018-01-22 12:38:38 +01:00
Antonio Ramos
dd77cd10df Remove debug lines 2018-01-22 12:21:28 +01:00
Carles Fernandez
db938bb047 Build fix due to a change in the gr-iio v0.3 API
A change in the API has removed the decimation parameter from sources
(see https://github.com/analogdevicesinc/gr-iio/issues/15 )

This commit fixes the build against the current master of
https://github.com/analogdevicesinc/gr-iio but it breaks compatibility
with older versions. Users with gr-iio already installed will need to
update it.
2018-01-20 11:56:17 +01:00
Antonio Ramos
7a2a02252a Minor changes 2018-01-19 13:50:33 +01:00
Carles Fernandez
3ca7d0d08a Remove unused include 2018-01-19 12:09:40 +01:00
Antonio Ramos
4873ea2b88 Fix GSS6450 signal source 2018-01-18 16:57:15 +01:00
Antonio Ramos
282c3d8659 Implement Spirent GSS6450 file signal source 2018-01-16 17:38:43 +01:00
Antonio Ramos
29b8643def Added Spirent GSS6450 file signal source 2018-01-12 13:15:20 +01:00
Carles Fernandez
4992449b51 Remove unused includes 2017-11-04 10:59:51 +01:00