1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-18 14:28:05 +00:00
Commit Graph

767 Commits

Author SHA1 Message Date
Marc Majoral
a559536f61 Halt FPGA-based receiver on buffer overflow detection 2025-06-14 07:28:15 +02:00
Marc Majoral
80e5280434 Ensure correct file length and sample skip calculations on 32-bit systems by using uint64_t
On 32-bit architectures, size_t may not be large enough to represent large file
sizes or sample counts. This commit updates the file length computation and the
return type of samplesToSkip() to use uint64_t, allowing accurate handling of
large files and ensuring consistency across platforms.
2025-05-28 19:40:58 +02:00
Carles Fernandez
98c0465947 Fix formatting 2025-04-01 15:52:10 +02:00
Carles Fernandez
4ba5c3505b Release 0.0.20 2025-04-01 15:34:18 +02:00
Carles Fernandez
32e7dc03ae Fix typos detected by codespell 2025-02-10 13:20:14 +01:00
Carles Fernandez
b9c834acba Revert unnecessary moves 2025-01-24 00:41:06 +01:00
Carles Fernandez
bd0d19a24b Fix low-impact performance inefficiency defects detected by Coverity Scan 2024.6
Reduce defect noise so other defects are easier spotted
2025-01-23 22:32:35 +01:00
Carles Fernandez
700d4403d5 Transition to clang-format 19 2024-12-26 11:18:41 +01:00
Carles Fernandez
9158447892 Fix linking against Boost 1.87
CI: add boost in homebrew dependencies
2024-12-20 22:09:52 +01:00
Carles Fernandez
f27eb85af6 Add new configuration parameters iq_balance_mode and dc_offset_mode to the Osmosdr_Signal_Source 2024-10-17 21:38:13 +02:00
Carles Fernandez
2a98217f25 Remove references to the data folder 2024-10-04 19:43:07 +02:00
Carles Fernandez
b981f8065e Add missing include (fixes building with modern GCC) 2024-09-08 09:41:36 +02:00
Carles Fernandez
310685cd20 Allow building Ad936x_Custom_Signal_Source when gnuradio-iio is not available 2024-08-28 11:09:56 +02:00
Carles Fernandez
3f3321f5a7 Sort out building flags and improve their reporting 2024-08-27 15:14:01 +02:00
Marc Majoral
1384ebef55 Initialize the receiver local oscillator frequency to GPS_L5_FREQ_HZ by default in the ADRV9361Z7035 FPGA signal source and remove unnecessary include files. 2024-08-26 09:03:56 +02:00
Carles Fernandez
c4e84ffcfc Apply clang-tidy fixes 2024-08-23 07:02:56 +02:00
Carles Fernandez
d5122c4e5a Simplify code 2024-08-22 14:50:40 +02:00
Carles Fernandez
d7885036b6 Make private member metadata_ a std::shared_pointer 2024-08-22 14:49:33 +02:00
Carles Fernandez
8702f9dfc7 Put the global function into an anonymous namespace
Use emplace_back instead of push_back
2024-08-22 13:26:17 +02:00
Carles Fernandez
52c91fd1ca Merge branch 'ft/ion-metadata-standard-signal-source' of https://github.com/castle055/gnss-sdr into castle055-ft/ion-metadata-standard-signal-source 2024-08-22 12:10:57 +02:00
Marc Majoral
1ac7e0ca1f fix configuration options for the FPGA-based AD9361-based boards 2024-08-21 14:48:37 +02:00
Carles Fernandez
ca150572d1 Remove unused configuration parameter. Uniformize guard names 2024-08-20 15:12:38 +02:00
Carles Fernandez
4929d87759 Fix uninitialized warning 2024-08-20 14:58:01 +02:00
Carles Fernandez
9bf3f457c3 Cleaner exit if the data file is not found 2024-08-20 14:54:15 +02:00
Carles Fernandez
94e49fb2ec Merge branch 'ft/ion-metadata-standard-signal-source' of https://github.com/castle055/gnss-sdr into castle055-ft/ion-metadata-standard-signal-source 2024-08-20 08:03:22 +02:00
Victor Castillo
89d73174a8 Added valves to properly handle end of samples 2024-08-19 18:24:18 +02:00
Victor Castillo
92dcec67e0 Simplified by removing a very shallow class
`ion_gnss_metadata_handler` was only reading the metadata file, which can easily be done in `ion_gsms_signal_source`.
2024-08-19 17:43:18 +02:00
Victor Castillo
c10eceb973 Moved ION GSMS file source to gnuradio_blocks/ directory
Also fixed some header guards.
2024-08-19 15:58:37 +02:00
Victor Castillo
174364af31 Implemented range check in IONGSMSSignalSource::get_right_block(int) 2024-08-19 15:56:29 +02:00
Victor Castillo
7cdda8e0dc Simplified disconnect() function
We can disconnect the sources directly instead of disconnecting each of their outputs.
2024-08-19 15:42:26 +02:00
Victor Castillo
3bdc7b9f21 Fixed includes and code style 2024-08-19 15:39:17 +02:00
Victor Castillo
f1957476b8 Use std::ifstream instead of FILE for reading sample data 2024-08-19 15:38:32 +02:00
Victor Castillo
4d1540181d Removed unused member fields and function parameters 2024-08-19 15:36:03 +02:00
Carles Fernandez
6836ac44fb Fix building for -DENABLE_PLUTOSDR=ON 2024-08-19 14:21:59 +02:00
Carles Fernandez
126421f847 Catch all exceptions 2024-08-19 12:30:25 +02:00
Carles Fernandez
df1314945f Fix CMake lists 2024-08-19 10:56:11 +02:00
Carles Fernandez
f3ba1822b1 Fix building 2024-08-19 10:24:48 +02:00
Carles Fernandez
614693ea0f Fix building error 2024-08-19 10:21:51 +02:00
Carles Fernandez
c212bac26d Fix CMake error 2024-08-19 09:58:33 +02:00
Carles Fernandez
e37855d43e Fixes for C++ standards older than 20. Avoid C++20-specific lambda templates 2024-08-19 09:27:29 +02:00
Carles Fernandez
da21ff4fd9 Improve formatting, add missing include 2024-08-19 09:26:21 +02:00
Carles Fernandez
62cb96ae03 Create a CMake target for the ION dependency for consistency 2024-08-19 09:25:05 +02:00
Carles Fernandez
7aa19d9642 Use lock_guard instead of unique_lock 2024-08-18 10:57:40 +02:00
Victor Castillo
27465f6a70 Fix formatting 2024-08-18 01:24:25 +02:00
Victor Castillo
a99ceafe85 Fixed arithmetic operations on pointers 2024-08-17 23:09:30 +02:00
Victor Castillo
61a9e179b0 Linting fixes 2024-08-17 23:05:38 +02:00
Victor Castillo
cf01a2d37a Fixed conditional compilation issues
And added a comment
2024-08-17 20:40:13 +02:00
Victor Castillo
b368942463 Fix wrong buffer size 2024-08-17 20:22:39 +02:00
Victor Castillo
33067d631d Less callback shenanigans 2024-08-17 20:20:27 +02:00
Victor Castillo
01bbc39fa6 Simpler handling of simpler bit formats
If a sample is the same size as a word, it is much easier to read.
2024-08-17 20:14:31 +02:00