Marc Majoral
5e22e4c50a
cleaned the FPGA acquisition code
2019-02-26 18:28:14 +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
d7d4cd09ae
Fix naming in fgpa and extra unit test implementations
2019-02-22 15:57:15 +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
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
Marc Majoral
fd3eb2a80e
The termination process is now done correctly when using the FPGA.
2019-02-13 17:48:14 +01:00
Carles Fernandez
31383258b0
clang-tidy: apply checks
2019-02-12 15:56:18 +01:00
Carles Fernandez
111c6291ec
Revert "clang-tidy: apply performance-unnecessary-value-param check"
...
This reverts commit eae967ed1a
.
2019-02-12 12:07:40 +01:00
Carles Fernandez
0c4b68c92d
clang-tidy: apply performance-move-const-arg check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-move-const-arg.html
2019-02-12 02:07:06 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +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
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
a63d7834f4
Remove unused include
2019-02-10 00:12:19 +01:00
Carles Fernandez
dfc89868af
Fix building
2019-02-08 00:05:14 +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
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Marc Majoral
ec80df40dc
minor corrections
2019-01-31 15:36:11 +01:00
Marc Majoral
bb0fae98c7
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-01-30 10:28:52 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules
2019-01-28 02:29:43 +01:00
Carles Fernandez
fa19b2e6a4
Fix compilation in Mac OS and crosscompilation.
...
Formatting rules applied
2019-01-28 01:08:57 +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
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Marc Majoral
ae61646270
Solved two bugs:
...
- a minor bug in the E5A fpga acquisition adapter module: a config parameter was not correctly read.
- a bug in the tracking fpga multicorrelator module: if pilot tracking was enabled then the results of the pilot correlator were not correctly read when using the multicorrelator 3-1 HW Accelerator in the FPGA (used for GPS L5 and Galileo E5A).
2018-12-11 14:44:42 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals
2018-12-11 12:08:54 +01:00
Carles Fernandez
e2582586b9
Apply fixes by clang-tidy
2018-12-11 02:22:33 +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
3dce8934fd
Apply fixes by clang-tidy
2018-12-10 19:05:12 +01:00
Carles Fernandez
a7b780fddc
Apply fixes by clang-tidy
2018-12-10 18:39:14 +01:00
Carles Fernandez
d6f3cd6dd3
Revert "Apply fixes by clang-tidy"
...
This reverts commit ba23d698bc
.
2018-12-10 18:20:45 +01:00
Carles Fernandez
ba23d698bc
Apply fixes by clang-tidy
2018-12-10 15:15:35 +01:00
Carles Fernandez
5b79f8ac50
Merge branch 'next' into smart_acq_resampler
2018-12-10 14:24:42 +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
Javier Arribas
63b19692e7
Completing the smart acquisition resampler
2018-12-05 16:50:32 +01:00
Marc Majoral
e436aadfd9
minor modifications to the Galileo E5a and GPS L5 acquisition adapters. Now the acquisition opens and closes the acquisition HW device every time an acquisition is done, to prevent the acquisition interrupt from interrupting all the acquisition processes at the same time.
2018-12-05 11:23:30 +01:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements
2018-12-04 13:20:49 +01:00
Carles Fernandez
b2659aa076
Merge branch 'next' into smart_acq_resampler
2018-12-04 00:05:04 +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
2709dc5ec7
clang-tidy: apply performance-faster-string-find (see https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html )
2018-12-03 18:17:21 +01:00
Javier Arribas
4b80451630
Adding initial functional changes for the smart acquisition resampler
2018-12-03 17:58:18 +01:00