Commit Graph

46 Commits

Author SHA1 Message Date
Marc Majoral 8b512d997b Remove the EZDMA driver, fix time reporting when using the FPGA, and include minor fixes for the dynamic bit selection, the AD9361 FPGA signal source, and the FPGA acquisition sampling factor parameter 2023-12-20 18:56:04 +01:00
Carles Fernandez 037ad07478
Apply clang-tidy 2022-05-31 07:34:12 +02:00
Marc Majoral 4c278cb3df removed commented code 2022-05-30 11:12:38 +02:00
Marc Majoral 8131bdffc5 perform fmComms5 specific mult-chip sync configuration 2022-05-20 16:54:00 +02:00
Marc Majoral da47cadcff fix ad9361_manager comments 2022-05-19 15:49:50 +02:00
Marc Majoral 923398fa5e fixed disable_ad9361_rx_local 2022-05-19 15:33:56 +02:00
Marc Majoral 6b9941dd13 fix the configuration of the second AD9361 when it is present 2022-05-17 19:29:02 +02:00
Marc Majoral 4e37fa45ad fix AD9361 configuration 2022-05-17 15:40:43 +02:00
Marc Majoral 38ed8ced4e configure the AD9361 digital filter on a per RX-channel basis. Keep the LO is the same for all RX channels in the same device. 2022-05-17 10:49:13 +02:00
Marc Majoral a1d8d8c19d make the ad9361_manager functions flexible to allow the use of two AD9361 devices when using the FPGA. 2022-05-13 18:12:25 +02:00
Marc Majoral c2141f99fb update the AD9361 in_voltage1_hardwaregain only if the gain mode is set to manual 2022-05-12 17:53:27 +02:00
Marc Majoral e6f3222e4a make the FPGA ad9361 signal source config_ad9361_rx_local function compatible with the AD-FMCOMMS5 analog front-end 2022-05-10 09:53:27 +02:00
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 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 499de7a9f1
Update file headers 2020-07-28 16:57:15 +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 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 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 d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments) 2020-02-11 21:47:13 +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 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
Carles Fernandez df4a218ab4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fir 2019-10-08 14:55:40 +02:00
Carles Fernandez 4208ffb4fb Work in the FIR filter 2019-10-08 14:55:16 +02:00
Carles Fernandez bdabbf7f85 Implement phase_dds_deg parameter, fix guard for tx_bandwidth 2019-10-08 12:57:37 +02:00
Carles Fernandez 48a62594eb
Add work on RF configuration parameters for AD9361 2019-10-07 22:45:09 +02:00
Carles Fernandez b5c253fd8f
Implement more configuration options for AD9361 2019-10-06 19:07:24 +02:00
Carles Fernandez d4bb6e5731
Always have a space between // and comment 2019-08-18 22:16:13 +02:00
Carles Fernandez a4d6800e22
Update copyright year
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02: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 b2db6abdaa
Add more extensive use of cstdint typenames 2018-08-11 14:31:35 +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
Carles Fernandez ac168cf274 Avoid warning 2018-04-06 09:39:11 +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