From 528763d10e37acf47bb471c2b96faeaa2ed6a9a5 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 22 Apr 2023 00:27:31 +0200 Subject: [PATCH 01/23] disabled spectran http sampleFreq autodetection --- .../spectran_http_source/src/spectran_http_client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source_modules/spectran_http_source/src/spectran_http_client.cpp b/source_modules/spectran_http_source/src/spectran_http_client.cpp index 8b886b75..77a19328 100644 --- a/source_modules/spectran_http_source/src/spectran_http_client.cpp +++ b/source_modules/spectran_http_source/src/spectran_http_client.cpp @@ -100,10 +100,11 @@ void SpectranHTTPClient::worker() { auto sampleFreqEnd = jsonData.find(',', sampleFreqBegin); std::string sampleFreqStr = jsonData.substr(sampleFreqBegin + 18, sampleFreqEnd - sampleFreqBegin - 18); sampleFreq = std::stoll(sampleFreqStr); + //flog::debug("{}", jsonData); } // Calculate and update center freq - int64_t samplerate = sampleFreqReceived ? sampleFreq : (endFreq - startFreq); + int64_t samplerate = /* sampleFreqReceived ? sampleFreq : */(endFreq - startFreq); int64_t centerFreq = round(((double)endFreq + (double)startFreq) / 2.0); if (centerFreq != _centerFreq) { flog::debug("New center freq: {}", centerFreq); From 2c3b5227873e79a19f64b3227a899d03c1bf06a3 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Mon, 24 Apr 2023 03:49:30 +0200 Subject: [PATCH 02/23] Update contributing.md --- contributing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contributing.md b/contributing.md index 5cb4c536..d6ece389 100644 --- a/contributing.md +++ b/contributing.md @@ -1,6 +1,7 @@ # Pull Requests -TODO +**I DO NOT ACCEPT PULL-REQUEST FOR FEATURES OR BUGFIXES REQUIRING SIGNIFICANT CODE/STRUCTURE CHANGES.** +**SUCH PULL REQUESTS WILL BE CLOSED AUTOMATICALLY. OPEN AN ISSUE DETAILING FEATURE REQUESTS OR POTENTIAL BUGFIX INSTEAD.** # Code Style @@ -122,4 +123,4 @@ Please follow this guide to properly format the JSON files for custom color maps * All additions and/or bug fixes to the core must not add additional dependencies. * Use VSCode for development, VS seems to cause issues. -* DO NOT use libboost for any code meant for this repository \ No newline at end of file +* DO NOT use libboost for any code meant for this repository From b89fdba433cf6aa0dab424a06974a0b45abf6c4a Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Tue, 2 May 2023 21:15:02 +0200 Subject: [PATCH 03/23] Update united-kingdom.json --- root/res/bandplans/united-kingdom.json | 170 +++++++++++++++++++++---- 1 file changed, 148 insertions(+), 22 deletions(-) diff --git a/root/res/bandplans/united-kingdom.json b/root/res/bandplans/united-kingdom.json index 589e2398..876ac8d6 100644 --- a/root/res/bandplans/united-kingdom.json +++ b/root/res/bandplans/united-kingdom.json @@ -5,6 +5,12 @@ "author_name": "John Donkersley", "author_url": "", "bands": [ + { + "name": "2200m Ham Band", + "type": "amateur", + "start": 135700, + "end": 137800 + }, { "name": "Long Wave", "type": "broadcast", @@ -209,18 +215,18 @@ "start": 15010000, "end": 15100000 }, - { - "name": "Maritime", - "type": "marine", - "start": 16360000, - "end": 17410000 - }, { "name": "19m Broadcast", "type": "broadcast", "start": 15100000, "end": 15800000 }, + { + "name": "Maritime", + "type": "marine", + "start": 16360000, + "end": 17410000 + }, { "name": "16m Broadcast", "type": "broadcast", @@ -345,7 +351,7 @@ "name": "Air Band TACAN/ILS", "type": "aviation", "start": 108000000, - "end": 118000000 + "end": 117975000 }, { "name": "Air Band Voice", @@ -371,6 +377,12 @@ "start": 147343750, "end": 147500000 }, + { + "name": "Satellites", + "type": "satellite", + "start": 148000000, + "end": 150050000 + }, { "name": "Pagers - Flex/POCSAG", "type": "PMR", @@ -425,6 +437,18 @@ "start": 230000000, "end": 400000000 }, + { + "name": "Satellites", + "type": "satellite", + "start": 399900000, + "end": 401000000 + }, + { + "name": "Weather Balloons", + "type": "aviation", + "start": 401000000, + "end": 406000000 + }, { "name": "Private Mobile Radio inc trams", "type": "PMR", @@ -462,22 +486,34 @@ "end": 455000000 }, { - "name": "Private Mobile Radio", + "name": "Private Mobile Radio inc OB", "type": "PMR", "start": 455000000, - "end": 467200000 - }, - { - "name": "Outside Broadcast Talkback", - "type": "PMR", - "start": 467200000, - "end": 468600000 + "end": 470000000 }, { "name": "Digital TV Broadcast", "type": "broadcast", "start": 470000000, - "end": 790000000 + "end": 700000000 + }, + { + "name": "Cell phones", + "type": "cellular", + "start": 703000000, + "end": 788000000 + }, + { + "name": "Band 20 Cell phone downlink", + "type": "cellular", + "start": 791000000, + "end": 821000000 + }, + { + "name": "Band 20 Cell phone uplink", + "type": "cellular", + "start": 832000000, + "end": 862000000 }, { "name": "Licence Exempt Short Range", @@ -485,12 +521,84 @@ "start": 862000000, "end": 875800000 }, + { + "name": "Band 8 Cell phone uplink", + "type": "cellular", + "start": 880100000, + "end": 914900000 + }, + { + "name": "Band 8 Cell phone downlink", + "type": "cellular", + "start": 925100000, + "end": 929500000 + }, { "name": "23cm Ham Band", "type": "amateur", "start": 1240000000, "end": 1325000000 }, + { + "name": "Band 32 Cell phone", + "type": "cellular", + "start": 1452000000, + "end": 1492000000 + }, + { + "name": "Satellite L-band", + "type": "satellite", + "start": 1518000000, + "end": 1559000000 + }, + { + "name": "Satellite L-band", + "type": "satellite", + "start": 1626500000, + "end": 1660500000 + }, + { + "name": "Satellite L-band", + "type": "satellite", + "start": 1668000000, + "end": 1675000000 + }, + { + "name": "Band 3 Cell phone uplink", + "type": "cellular", + "start": 1710000000, + "end": 1785000000 + }, + { + "name": "Band 3 Cell phone downlink", + "type": "cellular", + "start": 1805100000, + "end": 1880000000 + }, + { + "name": "DECT cordless phones", + "type": "cellular", + "start": 1880000000, + "end": 1900000000 + }, + { + "name": "Band 3 Cell phones", + "type": "cellular", + "start": 1900000000, + "end": 1920000000 + }, + { + "name": "Band 1 Cell phone uplink", + "type": "cellular", + "start": 1920000000, + "end": 1979700000 + }, + { + "name": "Band 1 Cell phone downlink", + "type": "cellular", + "start": 2110300000, + "end": 2169700000 + }, { "name": "13cm Ham Band", "type": "amateur", @@ -498,10 +606,28 @@ "end": 2302000000 }, { - "name": "13cm Ham Band", - "type": "amateur", - "start": 2310000000, - "end": 2450000000 + "name": "ISM - wifi and bluettoth", + "type": "ISM", + "start": 2400000000, + "end": 2483000000 + }, + { + "name": "Band 38 Cell phones", + "type": "cellular", + "start": 2500000000, + "end": 269000000 + }, + { + "name": "Band 42 5G Cell phones", + "type": "cellular", + "start": 3410000000, + "end": 3720000000 + }, + { + "name": "ISM - wifi", + "type": "ISM", + "start": 5150000000, + "end": 5850000000 } - ] -} \ No newline at end of file + ] +} From f296730302c8ef4d2912b1f55fa48ee9b3b64ba6 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 17 May 2023 03:58:49 +0200 Subject: [PATCH 04/23] fixed recorder frequency bug with multivfo --- misc_modules/recorder/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_modules/recorder/src/main.cpp b/misc_modules/recorder/src/main.cpp index 91a4b0fb..c2168ac9 100644 --- a/misc_modules/recorder/src/main.cpp +++ b/misc_modules/recorder/src/main.cpp @@ -168,7 +168,7 @@ public: // Open file std::string type = (recMode == RECORDER_MODE_AUDIO) ? "audio" : "baseband"; - std::string vfoName = (recMode == RECORDER_MODE_AUDIO) ? gui::waterfall.selectedVFO : ""; + std::string vfoName = (recMode == RECORDER_MODE_AUDIO) ? selectedStreamName : ""; std::string extension = ".wav"; std::string expandedPath = expandString(folderSelect.path + "/" + genFileName(nameTemplate, type, vfoName) + extension); if (!writer.open(expandedPath)) { From 71327cd6955be2b9d729d28dd81d09f6600b95dc Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 17 May 2023 18:37:21 +0200 Subject: [PATCH 05/23] fixed driver download link --- .github/workflows/build_all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index ce255d00..25c987dc 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -37,7 +37,7 @@ jobs: run: 7z x libusb.7z -olibusb_old ; rm "C:/Program Files/PothosSDR/bin/libusb-1.0.dll" ; cp "libusb_old/MS64/dll/libusb-1.0.dll" "C:/Program Files/PothosSDR/bin/" - name: Download SDRPlay API - run: Invoke-WebRequest -Uri "https://drive.google.com/uc?id=12UHPMwkfa67A11QZDmpCT4iwHnyJHWuu" -OutFile ${{runner.workspace}}/SDRPlay.zip + run: Invoke-WebRequest -Uri "https://drive.google.com/uc?id=12UHPMwkfa67A11QZDmpCT4iwHnyJHWuu&confirm=t" -OutFile ${{runner.workspace}}/SDRPlay.zip - name: Install SDRPlay API run: 7z x ${{runner.workspace}}/SDRPlay.zip -o"C:/Program Files/" From 0e7c754b8b6981aacb3920e1cbdc28c0da4ae0ae Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:32:27 +0200 Subject: [PATCH 06/23] Enabled perseus build on all unix --- .github/workflows/build_all.yml | 5 ++++- docker_builds/debian_bullseye/do_build.sh | 11 ++++++++++- docker_builds/debian_buster/do_build.sh | 11 ++++++++++- docker_builds/debian_sid/do_build.sh | 11 ++++++++++- docker_builds/ubuntu_bionic/do_build.sh | 11 ++++++++++- docker_builds/ubuntu_focal/do_build.sh | 11 ++++++++++- docker_builds/ubuntu_jammy/do_build.sh | 11 ++++++++++- 7 files changed, 64 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 25c987dc..c6d1471f 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -114,9 +114,12 @@ jobs: - name: Install LimeSuite run: git clone https://github.com/myriadrf/LimeSuite && cd LimeSuite && mkdir builddir && cd builddir && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ + - name: Install libperseus + run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && ./configure && make && make install && cd .. + - name: Prepare CMake working-directory: ${{runner.workspace}}/build - run: cmake $GITHUB_WORKSPACE -DOPT_BUILD_PLUTOSDR_SOURCE=ON -DOPT_BUILD_SOAPY_SOURCE=OFF -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_AUDIO_SINK=OFF -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_AUDIO_SOURCE=OFF -DUSE_BUNDLE_DEFAULTS=ON -DCMAKE_BUILD_TYPE=Release + run: cmake $GITHUB_WORKSPACE -DOPT_BUILD_PLUTOSDR_SOURCE=ON -DOPT_BUILD_SOAPY_SOURCE=OFF -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_AUDIO_SINK=OFF -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON -DOPT_BUILD_AUDIO_SOURCE=OFF -DUSE_BUNDLE_DEFAULTS=ON -DCMAKE_BUILD_TYPE=Release - name: Build working-directory: ${{runner.workspace}}/build diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index 05a0a32e..27a29379 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -15,10 +15,19 @@ wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run cp x86_64/libsdrplay_api.so.3.07 /usr/lib/libsdrplay_api.so cp inc/* /usr/include/ +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +./configure +make +make install +ldconfig +cd .. + cd SDRPlusPlus mkdir build cd build -cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON +cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON make VERBOSE=1 -j2 cd .. diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index cbefd63f..2a3bde9b 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -15,10 +15,19 @@ wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run cp x86_64/libsdrplay_api.so.3.07 /usr/lib/libsdrplay_api.so cp inc/* /usr/include/ +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +./configure +make +make install +ldconfig +cd .. + cd SDRPlusPlus mkdir build cd build -cmake .. -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_BLADERF_SOURCE=OFF -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON +cmake .. -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_BLADERF_SOURCE=OFF -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON make VERBOSE=1 -j2 cd .. diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index 05a0a32e..27a29379 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -15,10 +15,19 @@ wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run cp x86_64/libsdrplay_api.so.3.07 /usr/lib/libsdrplay_api.so cp inc/* /usr/include/ +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +./configure +make +make install +ldconfig +cd .. + cd SDRPlusPlus mkdir build cd build -cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON +cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON make VERBOSE=1 -j2 cd .. diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index 2145328a..bf714013 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -41,6 +41,15 @@ make install ldconfig cd ../../ +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +./configure +make +make install +ldconfig +cd .. + # Fix missing .pc file for codec2 echo 'prefix=/usr/' >> /usr/share/pkgconfig/codec2.pc echo 'libdir=/usr/include/x86_64-linux-gnu/' >> /usr/share/pkgconfig/codec2.pc @@ -56,7 +65,7 @@ echo 'Cflags: -I/usr/include/codec2' >> /usr/share/pkgconfig/codec2.pc cd SDRPlusPlus mkdir build cd build -cmake .. -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_BLADERF_SOURCE=OFF -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_OVERRIDE_STD_FILESYSTEM=ON -DOPT_BUILD_M17_DECODER=ON +cmake .. -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_BLADERF_SOURCE=OFF -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_OVERRIDE_STD_FILESYSTEM=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON make VERBOSE=1 -j2 # Generate package diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index 05a0a32e..27a29379 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -15,10 +15,19 @@ wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run cp x86_64/libsdrplay_api.so.3.07 /usr/lib/libsdrplay_api.so cp inc/* /usr/include/ +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +./configure +make +make install +ldconfig +cd .. + cd SDRPlusPlus mkdir build cd build -cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON +cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON make VERBOSE=1 -j2 cd .. diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index 05a0a32e..27a29379 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -15,10 +15,19 @@ wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run cp x86_64/libsdrplay_api.so.3.07 /usr/lib/libsdrplay_api.so cp inc/* /usr/include/ +# Install libperseus +git clone https://github.com/Microtelecom/libperseus-sdr +cd libperseus-sdr +./configure +make +make install +ldconfig +cd .. + cd SDRPlusPlus mkdir build cd build -cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON +cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON make VERBOSE=1 -j2 cd .. From 6bcb62bfb249e3388a14867a6ce9a024362b5001 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:40:23 +0200 Subject: [PATCH 07/23] fixed ci --- .github/workflows/build_all.yml | 2 +- docker_builds/debian_bullseye/do_build.sh | 1 + docker_builds/debian_buster/do_build.sh | 1 + docker_builds/debian_sid/do_build.sh | 1 + docker_builds/ubuntu_bionic/do_build.sh | 1 + docker_builds/ubuntu_focal/do_build.sh | 1 + docker_builds/ubuntu_jammy/do_build.sh | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index c6d1471f..9fa077a5 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -115,7 +115,7 @@ jobs: run: git clone https://github.com/myriadrf/LimeSuite && cd LimeSuite && mkdir builddir && cd builddir && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ - name: Install libperseus - run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && ./configure && make && make install && cd .. + run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoreconf -i && ./configure && make && make install && cd .. - name: Prepare CMake working-directory: ${{runner.workspace}}/build diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index 27a29379..319eca5e 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -18,6 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr +autoreconf -i ./configure make make install diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index 2a3bde9b..c84dc02c 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -18,6 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr +autoreconf -i ./configure make make install diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index 27a29379..319eca5e 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -18,6 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr +autoreconf -i ./configure make make install diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index bf714013..45059f18 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -44,6 +44,7 @@ cd ../../ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr +autoreconf -i ./configure make make install diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index 27a29379..319eca5e 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -18,6 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr +autoreconf -i ./configure make make install diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index 27a29379..319eca5e 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -18,6 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr +autoreconf -i ./configure make make install From 664b5d85e23574afa4744c0429d17d0681da106e Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:43:37 +0200 Subject: [PATCH 08/23] fixed again --- .github/workflows/build_all.yml | 2 +- docker_builds/debian_bullseye/do_build.sh | 2 +- docker_builds/debian_buster/do_build.sh | 2 +- docker_builds/debian_sid/do_build.sh | 2 +- docker_builds/ubuntu_bionic/do_build.sh | 2 +- docker_builds/ubuntu_focal/do_build.sh | 2 +- docker_builds/ubuntu_jammy/do_build.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 9fa077a5..da407df1 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -115,7 +115,7 @@ jobs: run: git clone https://github.com/myriadrf/LimeSuite && cd LimeSuite && mkdir builddir && cd builddir && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ - name: Install libperseus - run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoreconf -i && ./configure && make && make install && cd .. + run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoconf && ./configure && make && make install && cd .. - name: Prepare CMake working-directory: ${{runner.workspace}}/build diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index 319eca5e..d7fa9d8c 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoreconf -i +autoconf ./configure make make install diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index c84dc02c..d3573055 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoreconf -i +autoconf ./configure make make install diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index 319eca5e..d7fa9d8c 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoreconf -i +autoconf ./configure make make install diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index 45059f18..b55b9136 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -44,7 +44,7 @@ cd ../../ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoreconf -i +autoconf ./configure make make install diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index 319eca5e..d7fa9d8c 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoreconf -i +autoconf ./configure make make install diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index 319eca5e..d7fa9d8c 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoreconf -i +autoconf ./configure make make install From 32c580ba57fd9c627c9c11d35bdfd5757103d1b6 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:47:04 +0200 Subject: [PATCH 09/23] another fix --- docker_builds/debian_bullseye/do_build.sh | 2 +- docker_builds/debian_buster/do_build.sh | 2 +- docker_builds/debian_sid/do_build.sh | 2 +- docker_builds/ubuntu_bionic/do_build.sh | 2 +- docker_builds/ubuntu_focal/do_build.sh | 2 +- docker_builds/ubuntu_jammy/do_build.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index d7fa9d8c..1330768c 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev + libcodec2-dev autoconf # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index d3573055..2e31b44e 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk1-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev + libcodec2-dev autoconf # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index d7fa9d8c..1330768c 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev + libcodec2-dev autoconf # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index b55b9136..1a1689d7 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -12,7 +12,7 @@ apt update # Install dependencies and tools apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk1-dev libzstd-dev libsoapysdr-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev libudev-dev + libcodec2-dev libudev-dev autoconf # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index d7fa9d8c..1330768c 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev + libcodec2-dev autoconf # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index d7fa9d8c..1330768c 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev + libcodec2-dev autoconf # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run From c16281f68a7bbc17d020af006b74dd3a9e8bbd68 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:49:22 +0200 Subject: [PATCH 10/23] hopefully last fix... --- .github/workflows/build_all.yml | 2 +- docker_builds/debian_bullseye/do_build.sh | 2 +- docker_builds/debian_buster/do_build.sh | 2 +- docker_builds/debian_sid/do_build.sh | 2 +- docker_builds/ubuntu_bionic/do_build.sh | 2 +- docker_builds/ubuntu_focal/do_build.sh | 2 +- docker_builds/ubuntu_jammy/do_build.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index da407df1..9fa077a5 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -115,7 +115,7 @@ jobs: run: git clone https://github.com/myriadrf/LimeSuite && cd LimeSuite && mkdir builddir && cd builddir && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ - name: Install libperseus - run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoconf && ./configure && make && make install && cd .. + run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoreconf -i && ./configure && make && make install && cd .. - name: Prepare CMake working-directory: ${{runner.workspace}}/build diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index 1330768c..292f9e51 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoconf +autoreconf -i ./configure make make install diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index 2e31b44e..d2cd6b12 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoconf +autoreconf -i ./configure make make install diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index 1330768c..292f9e51 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoconf +autoreconf -i ./configure make make install diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index 1a1689d7..7ca58ce9 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -44,7 +44,7 @@ cd ../../ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoconf +autoreconf -i ./configure make make install diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index 1330768c..292f9e51 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoconf +autoreconf -i ./configure make make install diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index 1330768c..292f9e51 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -18,7 +18,7 @@ cp inc/* /usr/include/ # Install libperseus git clone https://github.com/Microtelecom/libperseus-sdr cd libperseus-sdr -autoconf +autoreconf -i ./configure make make install From 78c57db116992f9c324f8f0dab7bb634a00962e3 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:52:57 +0200 Subject: [PATCH 11/23] I hate autotools so much --- docker_builds/debian_bullseye/do_build.sh | 2 +- docker_builds/debian_buster/do_build.sh | 2 +- docker_builds/debian_sid/do_build.sh | 2 +- docker_builds/ubuntu_bionic/do_build.sh | 2 +- docker_builds/ubuntu_focal/do_build.sh | 2 +- docker_builds/ubuntu_jammy/do_build.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index 292f9e51..2e4d0414 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf + libcodec2-dev autoconf libtool # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index d2cd6b12..5edfeda3 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk1-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf + libcodec2-dev autoconf libtool # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index 292f9e51..2e4d0414 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf + libcodec2-dev autoconf libtool # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index 7ca58ce9..21698c62 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -12,7 +12,7 @@ apt update # Install dependencies and tools apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk1-dev libzstd-dev libsoapysdr-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev libudev-dev autoconf + libcodec2-dev libudev-dev autoconf libtool # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index 292f9e51..2e4d0414 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf + libcodec2-dev autoconf libtool # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index 292f9e51..2e4d0414 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf + libcodec2-dev autoconf libtool # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run From a53bf05ed3de8d30fbcd08e84e338932cb3d8a8d Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 02:55:37 +0200 Subject: [PATCH 12/23] and another one... --- docker_builds/debian_bullseye/do_build.sh | 2 +- docker_builds/debian_buster/do_build.sh | 2 +- docker_builds/debian_sid/do_build.sh | 2 +- docker_builds/ubuntu_bionic/do_build.sh | 2 +- docker_builds/ubuntu_focal/do_build.sh | 2 +- docker_builds/ubuntu_jammy/do_build.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker_builds/debian_bullseye/do_build.sh b/docker_builds/debian_bullseye/do_build.sh index 2e4d0414..6509c192 100644 --- a/docker_builds/debian_bullseye/do_build.sh +++ b/docker_builds/debian_bullseye/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf libtool + libcodec2-dev autoconf libtool xxd # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/debian_buster/do_build.sh b/docker_builds/debian_buster/do_build.sh index 5edfeda3..0a90aa11 100644 --- a/docker_builds/debian_buster/do_build.sh +++ b/docker_builds/debian_buster/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk1-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf libtool + libcodec2-dev autoconf libtool xxd # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/debian_sid/do_build.sh b/docker_builds/debian_sid/do_build.sh index 2e4d0414..6509c192 100644 --- a/docker_builds/debian_sid/do_build.sh +++ b/docker_builds/debian_sid/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf libtool + libcodec2-dev autoconf libtool xxd # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_bionic/do_build.sh b/docker_builds/ubuntu_bionic/do_build.sh index 21698c62..c63d8434 100644 --- a/docker_builds/ubuntu_bionic/do_build.sh +++ b/docker_builds/ubuntu_bionic/do_build.sh @@ -12,7 +12,7 @@ apt update # Install dependencies and tools apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk1-dev libzstd-dev libsoapysdr-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev libudev-dev autoconf libtool + libcodec2-dev libudev-dev autoconf libtool xxd # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_focal/do_build.sh b/docker_builds/ubuntu_focal/do_build.sh index 2e4d0414..6509c192 100644 --- a/docker_builds/ubuntu_focal/do_build.sh +++ b/docker_builds/ubuntu_focal/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf libtool + libcodec2-dev autoconf libtool xxd # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run diff --git a/docker_builds/ubuntu_jammy/do_build.sh b/docker_builds/ubuntu_jammy/do_build.sh index 2e4d0414..6509c192 100644 --- a/docker_builds/ubuntu_jammy/do_build.sh +++ b/docker_builds/ubuntu_jammy/do_build.sh @@ -6,7 +6,7 @@ cd /root apt update apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev libsoapysdr-dev libairspyhf-dev libairspy-dev \ libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget portaudio19-dev \ - libcodec2-dev autoconf libtool + libcodec2-dev autoconf libtool xxd # Install SDRPlay libraries wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run From 3a06612ff5e4960cc7e01db0b86593ac9d719092 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 24 May 2023 03:09:35 +0200 Subject: [PATCH 13/23] fixed missing autoconf on macos --- .github/workflows/build_all.yml | 2 +- make_macos_bundle.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 9fa077a5..8fde42d0 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -97,7 +97,7 @@ jobs: run: rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3* /usr/local/bin/python3-config* && brew reinstall gettext - name: Install dependencies - run: brew install pkg-config libusb fftw glfw airspy airspyhf portaudio hackrf rtl-sdr libbladerf codec2 zstd && pip3 install mako + run: brew install pkg-config libusb fftw glfw airspy airspyhf portaudio hackrf rtl-sdr libbladerf codec2 zstd autoconf && pip3 install mako - name: Install volk run: git clone --recursive https://github.com/gnuradio/volk && cd volk && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ diff --git a/make_macos_bundle.sh b/make_macos_bundle.sh index 703bf107..c557d5aa 100644 --- a/make_macos_bundle.sh +++ b/make_macos_bundle.sh @@ -38,6 +38,7 @@ bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/hackrf_source/hackrf_source.dylib bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/hermes_source/hermes_source.dylib bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/limesdr_source/limesdr_source.dylib +bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/perseus_source/perseus_source.dylib bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/plutosdr_source/plutosdr_source.dylib bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/rfspace_source/rfspace_source.dylib bundle_install_binary $BUNDLE $BUNDLE/Contents/Plugins $BUILD_DIR/source_modules/rtl_sdr_source/rtl_sdr_source.dylib From 21816fb438b414acd9d2353aa105da800c5543f5 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 10 Jun 2023 03:56:46 +0200 Subject: [PATCH 14/23] maybe CI fix --- .github/workflows/build_all.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 8fde42d0..a615913e 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -97,7 +97,7 @@ jobs: run: rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3* /usr/local/bin/python3-config* && brew reinstall gettext - name: Install dependencies - run: brew install pkg-config libusb fftw glfw airspy airspyhf portaudio hackrf rtl-sdr libbladerf codec2 zstd autoconf && pip3 install mako + run: brew install pkg-config libusb fftw glfw airspy airspyhf portaudio hackrf rtl-sdr libbladerf codec2 zstd autoconf automake libtool && pip3 install mako - name: Install volk run: git clone --recursive https://github.com/gnuradio/volk && cd volk && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ @@ -115,7 +115,7 @@ jobs: run: git clone https://github.com/myriadrf/LimeSuite && cd LimeSuite && mkdir builddir && cd builddir && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j3 && sudo make install && cd ../../ - name: Install libperseus - run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoreconf -i && ./configure && make && make install && cd .. + run: git clone https://github.com/Microtelecom/libperseus-sdr && cd libperseus-sdr && autoreconf -i && ./configure --prefix=/usr/local && make && make install && cd .. - name: Prepare CMake working-directory: ${{runner.workspace}}/build From aa1fd9e573b2448e3c9d3a66f36c6f2122b67fd9 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 10 Jun 2023 19:24:40 +0200 Subject: [PATCH 15/23] enabled perseus-sdr build on windows --- .github/workflows/build_all.yml | 7 +++++-- source_modules/perseus_source/CMakeLists.txt | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index a615913e..d19ded63 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -58,14 +58,17 @@ jobs: run: mkdir "C:/Program Files/codec2" ; mkdir "C:/Program Files/codec2/include" ; mkdir "C:/Program Files/codec2/include/codec2" ; mkdir "C:/Program Files/codec2/lib" ; cd "codec2" ; xcopy "src" "C:/Program Files/codec2/include" ; cd "build" ; xcopy "src" "C:/Program Files/codec2/lib" ; xcopy "codec2" "C:/Program Files/codec2/include/codec2" - name: Install vcpkg dependencies - run: vcpkg install fftw3:x64-windows glfw3:x64-windows portaudio:x64-windows zstd:x64-windows + run: vcpkg install fftw3:x64-windows glfw3:x64-windows portaudio:x64-windows zstd:x64-windows libusb:x64-windows - name: Install rtaudio run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; git checkout 2f2fca4502d506abc50f6d4473b2836d24cfb1e3 ; mkdir build ; cd build ; cmake .. ; cmake --build . --config Release ; cmake --install . + - name: Install libperseus-sdr + run: git clone https://github.com/AlexandreRouma/libperseus-sdr ; cd libperseus-sdr ; mkdir build ; cd build ; cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ; cmake --build . --config Release ; mkdir "C:/Program Files/PothosSDR/include/perseus-sdr" ; cp Release/perseus-sdr.dll "C:/Program Files/PothosSDR/bin/" ; cp Release/perseus-sdr.lib "C:/Program Files/PothosSDR/bin/" ; xcopy "../src" "C:/Program Files/PothosSDR/include/perseus-sdr/" + - name: Prepare CMake working-directory: ${{runner.workspace}}/build - run: cmake "$Env:GITHUB_WORKSPACE" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON + run: cmake "$Env:GITHUB_WORKSPACE" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_PERSEUS_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON - name: Build working-directory: ${{runner.workspace}}/build diff --git a/source_modules/perseus_source/CMakeLists.txt b/source_modules/perseus_source/CMakeLists.txt index 1b273f3d..3b27b98c 100644 --- a/source_modules/perseus_source/CMakeLists.txt +++ b/source_modules/perseus_source/CMakeLists.txt @@ -7,9 +7,9 @@ include(${SDRPP_MODULE_CMAKE}) if (MSVC) # Lib path - target_link_directories(perseus_source PRIVATE "C:/Users/ryzerth/Documents/Code/libperseus-sdr/build/Debug") + target_link_directories(perseus_source PRIVATE "C:/Program Files/PothosSDR/bin/") - target_include_directories(perseus_source PUBLIC "C:/Users/ryzerth/Documents/Code/libperseus-sdr/src") + target_include_directories(perseus_source PUBLIC "C:/Program Files/PothosSDR/include/") target_link_libraries(perseus_source PRIVATE perseus-sdr) else (MSVC) From 1df51020aa0766de1d839e9bc51d42d3107ce7cb Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 10 Jun 2023 20:22:32 +0200 Subject: [PATCH 16/23] hopefully last windows CI fix --- .github/workflows/build_all.yml | 2 +- make_windows_package.ps1 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index d19ded63..a9db7b75 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -64,7 +64,7 @@ jobs: run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; git checkout 2f2fca4502d506abc50f6d4473b2836d24cfb1e3 ; mkdir build ; cd build ; cmake .. ; cmake --build . --config Release ; cmake --install . - name: Install libperseus-sdr - run: git clone https://github.com/AlexandreRouma/libperseus-sdr ; cd libperseus-sdr ; mkdir build ; cd build ; cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ; cmake --build . --config Release ; mkdir "C:/Program Files/PothosSDR/include/perseus-sdr" ; cp Release/perseus-sdr.dll "C:/Program Files/PothosSDR/bin/" ; cp Release/perseus-sdr.lib "C:/Program Files/PothosSDR/bin/" ; xcopy "../src" "C:/Program Files/PothosSDR/include/perseus-sdr/" + run: git clone https://github.com/AlexandreRouma/libperseus-sdr ; cd libperseus-sdr ; mkdir build ; cd build ; cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ; cmake --build . --config Release ; mkdir "C:/Program Files/PothosSDR/include/perseus-sdr" ; cp Release/perseus-sdr.dll "C:/Program Files/PothosSDR/bin/" ; cp Release/perseus-sdr.lib "C:/Program Files/PothosSDR/bin/" ; cd .. ; xcopy "src" "C:/Program Files/PothosSDR/include/perseus-sdr/" - name: Prepare CMake working-directory: ${{runner.workspace}}/build diff --git a/make_windows_package.ps1 b/make_windows_package.ps1 index 44fdad4e..91a75320 100644 --- a/make_windows_package.ps1 +++ b/make_windows_package.ps1 @@ -32,6 +32,9 @@ cp $build_dir/source_modules/hermes_source/Release/hermes_source.dll sdrpp_windo cp $build_dir/source_modules/limesdr_source/Release/limesdr_source.dll sdrpp_windows_x64/modules/ cp 'C:/Program Files/PothosSDR/bin/LimeSuite.dll' sdrpp_windows_x64/ +cp $build_dir/source_modules/perseus_source/Release/perseus_source.dll sdrpp_windows_x64/modules/ +cp 'C:/Program Files/PothosSDR/bin/perseus-sdr.dll' sdrpp_windows_x64/ + cp $build_dir/source_modules/plutosdr_source/Release/plutosdr_source.dll sdrpp_windows_x64/modules/ cp 'C:/Program Files/PothosSDR/bin/libiio.dll' sdrpp_windows_x64/ cp 'C:/Program Files/PothosSDR/bin/libad9361.dll' sdrpp_windows_x64/ From 47617e1acd3c17af285ce6b6fd2e294c3f45ca05 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 10 Jun 2023 20:37:38 +0200 Subject: [PATCH 17/23] trying again, powershell belongs in the trash --- .github/workflows/build_all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index a9db7b75..3de42e9b 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -64,7 +64,7 @@ jobs: run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; git checkout 2f2fca4502d506abc50f6d4473b2836d24cfb1e3 ; mkdir build ; cd build ; cmake .. ; cmake --build . --config Release ; cmake --install . - name: Install libperseus-sdr - run: git clone https://github.com/AlexandreRouma/libperseus-sdr ; cd libperseus-sdr ; mkdir build ; cd build ; cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ; cmake --build . --config Release ; mkdir "C:/Program Files/PothosSDR/include/perseus-sdr" ; cp Release/perseus-sdr.dll "C:/Program Files/PothosSDR/bin/" ; cp Release/perseus-sdr.lib "C:/Program Files/PothosSDR/bin/" ; cd .. ; xcopy "src" "C:/Program Files/PothosSDR/include/perseus-sdr/" + run: git clone https://github.com/AlexandreRouma/libperseus-sdr ; cd libperseus-sdr ; mkdir build ; cd build ; cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ; cmake --build . --config Release ; mkdir "C:/Program Files/PothosSDR/include/perseus-sdr" ; cp Release/perseus-sdr.dll "C:/Program Files/PothosSDR/bin" ; cp Release/perseus-sdr.lib "C:/Program Files/PothosSDR/bin" ; cd .. ; xcopy "src" "C:/Program Files/PothosSDR/include/perseus-sdr" - name: Prepare CMake working-directory: ${{runner.workspace}}/build From 3e3846daa18bbc14ff6ba99a55fb94869dec85b8 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 10 Jun 2023 21:17:17 +0200 Subject: [PATCH 18/23] another fix --- source_modules/perseus_source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_modules/perseus_source/CMakeLists.txt b/source_modules/perseus_source/CMakeLists.txt index 3b27b98c..eb28824c 100644 --- a/source_modules/perseus_source/CMakeLists.txt +++ b/source_modules/perseus_source/CMakeLists.txt @@ -9,7 +9,7 @@ if (MSVC) # Lib path target_link_directories(perseus_source PRIVATE "C:/Program Files/PothosSDR/bin/") - target_include_directories(perseus_source PUBLIC "C:/Program Files/PothosSDR/include/") + target_include_directories(perseus_source PUBLIC "C:/Program Files/PothosSDR/include/perseus-sdr") target_link_libraries(perseus_source PRIVATE perseus-sdr) else (MSVC) From 5acdab0d22f612507637e4ba759970ad7dd3c6f2 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sat, 10 Jun 2023 21:48:02 +0200 Subject: [PATCH 19/23] Instantiated the perseus source by default and perseus on raspberrypi --- .github/workflows/build_all.yml | 2 +- core/src/core.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 3de42e9b..02372501 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -281,7 +281,7 @@ jobs: - name: Prepare CMake working-directory: ${{runner.workspace}}/build - run: cmake $GITHUB_WORKSPACE -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_USRP_SOURCE=ON + run: cmake $GITHUB_WORKSPACE -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_USRP_SOURCE=ON -DOPT_BUILD_PERSEUS_SOURCE=ON - name: Build working-directory: ${{runner.workspace}}/build diff --git a/core/src/core.cpp b/core/src/core.cpp index 7a1cb96a..3ce32a47 100644 --- a/core/src/core.cpp +++ b/core/src/core.cpp @@ -179,6 +179,8 @@ int sdrpp_main(int argc, char* argv[]) { defConfig["moduleInstances"]["LimeSDR Source"]["enabled"] = true; defConfig["moduleInstances"]["PlutoSDR Source"]["module"] = "plutosdr_source"; defConfig["moduleInstances"]["PlutoSDR Source"]["enabled"] = true; + defConfig["moduleInstances"]["PerseusSDR Source"]["module"] = "perseus_source"; + defConfig["moduleInstances"]["PerseusSDR Source"]["enabled"] = true; defConfig["moduleInstances"]["RFspace Source"]["module"] = "rfspace_source"; defConfig["moduleInstances"]["RFspace Source"]["enabled"] = true; defConfig["moduleInstances"]["RTL-SDR Source"]["module"] = "rtl_sdr_source"; From 1c081cad78c1ab1ceaa1bda0d07ebf82e0ca76c6 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Thu, 29 Jun 2023 01:19:15 +0200 Subject: [PATCH 20/23] added OQPSK mode to the meteor demodulator --- .../meteor_demodulator/src/main.cpp | 14 +++++++++++-- .../meteor_demodulator/src/meteor_demod.h | 20 +++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/decoder_modules/meteor_demodulator/src/main.cpp b/decoder_modules/meteor_demodulator/src/main.cpp index ddd47714..05373fcf 100644 --- a/decoder_modules/meteor_demodulator/src/main.cpp +++ b/decoder_modules/meteor_demodulator/src/main.cpp @@ -57,9 +57,12 @@ public: if (config.conf[name].contains("brokenModulation")) { brokenModulation = config.conf[name]["brokenModulation"]; } + if (config.conf[name].contains("oqpsk")) { + oqpsk = config.conf[name]["oqpsk"]; + } config.release(); - vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, 150000, INPUT_SAMPLE_RATE, 150000, 150000, true); + vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, INPUT_SAMPLE_RATE, INPUT_SAMPLE_RATE, INPUT_SAMPLE_RATE, INPUT_SAMPLE_RATE, true); demod.init(vfo->output, 72000.0f, INPUT_SAMPLE_RATE, 33, 0.6f, 0.1f, 0.005f, brokenModulation, 1e-6, 0.01); split.init(&demod.out); split.bindStream(&symSinkStream); @@ -151,6 +154,13 @@ private: config.release(true); } + if (ImGui::Checkbox(CONCAT("OQPSK##oqpsk", _this->name), &_this->oqpsk)) { + _this->demod.setOQPSK(_this->oqpsk); + config.acquire(); + config.conf[_this->name]["oqpsk"] = _this->oqpsk; + config.release(true); + } + if (!_this->folderSelect.pathIsValid() && _this->enabled) { style::beginDisabled(); } if (_this->recording) { @@ -245,7 +255,7 @@ private: uint64_t dataWritten = 0; std::ofstream recFile; bool brokenModulation = false; - + bool oqpsk = false; int8_t* writeBuffer; }; diff --git a/decoder_modules/meteor_demodulator/src/meteor_demod.h b/decoder_modules/meteor_demodulator/src/meteor_demod.h index 9cc8594f..35ebbc94 100644 --- a/decoder_modules/meteor_demodulator/src/meteor_demod.h +++ b/decoder_modules/meteor_demodulator/src/meteor_demod.h @@ -129,6 +129,12 @@ namespace dsp::demod { costas.setBrokenModulation(enabled); } + void setOQPSK(bool enabled) { + assert(base_type::_block_init); + std::lock_guard lck(base_type::ctrlMtx); + oqpsk = enabled; + } + void reset() { assert(base_type::_block_init); std::lock_guard lck(base_type::ctrlMtx); @@ -144,6 +150,18 @@ namespace dsp::demod { rrc.process(count, in, out); agc.process(count, out, out); costas.process(count, out, out); + + if (oqpsk) { + // Single sample delay + deinterleave + for (int i = 0; i < count; i++) { + float tmp = out[i].im; + out[i].im = lastI; + lastI = tmp; + } + + // TODO: Additional 1/24th sample delay + } + return recov.process(count, out, out); } @@ -166,6 +184,8 @@ namespace dsp::demod { double _samplerate; int _rrcTapCount; double _rrcBeta; + float lastI = 0.0f; + bool oqpsk = false; tap rrcTaps; filter::FIR rrc; From 8d05c1e1819b128061c8bf22645f7bb9f16a2469 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Fri, 30 Jun 2023 01:36:28 +0200 Subject: [PATCH 21/23] bugfix --- decoder_modules/meteor_demodulator/src/main.cpp | 3 ++- .../meteor_demodulator/src/meteor_demod.h | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/decoder_modules/meteor_demodulator/src/main.cpp b/decoder_modules/meteor_demodulator/src/main.cpp index 05373fcf..bad29d50 100644 --- a/decoder_modules/meteor_demodulator/src/main.cpp +++ b/decoder_modules/meteor_demodulator/src/main.cpp @@ -63,7 +63,7 @@ public: config.release(); vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, INPUT_SAMPLE_RATE, INPUT_SAMPLE_RATE, INPUT_SAMPLE_RATE, INPUT_SAMPLE_RATE, true); - demod.init(vfo->output, 72000.0f, INPUT_SAMPLE_RATE, 33, 0.6f, 0.1f, 0.005f, brokenModulation, 1e-6, 0.01); + demod.init(vfo->output, 72000.0f, INPUT_SAMPLE_RATE, 33, 0.6f, 0.1f, 0.005f, brokenModulation, oqpsk, 1e-6, 0.01); split.init(&demod.out); split.bindStream(&symSinkStream); split.bindStream(&sinkStream); @@ -102,6 +102,7 @@ public: double bw = gui::waterfall.getBandwidth(); vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, std::clamp(0, -bw / 2.0, bw / 2.0), 150000, INPUT_SAMPLE_RATE, 150000, 150000, true); + demod.setBrokenModulation(brokenModulation); demod.setInput(vfo->output); demod.start(); diff --git a/decoder_modules/meteor_demodulator/src/meteor_demod.h b/decoder_modules/meteor_demodulator/src/meteor_demod.h index 35ebbc94..4e7ea5de 100644 --- a/decoder_modules/meteor_demodulator/src/meteor_demod.h +++ b/decoder_modules/meteor_demodulator/src/meteor_demod.h @@ -11,8 +11,8 @@ namespace dsp::demod { public: Meteor() {} - Meteor(stream* in, double symbolrate, double samplerate, int rrcTapCount, double rrcBeta, double agcRate, double costasBandwidth, bool brokenModulation, double omegaGain, double muGain, double omegaRelLimit = 0.01) { - init(in, symbolrate, samplerate, rrcTapCount, rrcBeta, agcRate, costasBandwidth, brokenModulation, omegaGain, muGain); + Meteor(stream* in, double symbolrate, double samplerate, int rrcTapCount, double rrcBeta, double agcRate, double costasBandwidth, bool brokenModulation, bool oqpsk, double omegaGain, double muGain, double omegaRelLimit = 0.01) { + init(in, symbolrate, samplerate, rrcTapCount, rrcBeta, agcRate, costasBandwidth, brokenModulation, oqpsk, omegaGain, muGain); } ~Meteor() { @@ -21,11 +21,12 @@ namespace dsp::demod { taps::free(rrcTaps); } - void init(stream* in, double symbolrate, double samplerate, int rrcTapCount, double rrcBeta, double agcRate, double costasBandwidth, bool brokenModulation, double omegaGain, double muGain, double omegaRelLimit = 0.01) { + void init(stream* in, double symbolrate, double samplerate, int rrcTapCount, double rrcBeta, double agcRate, double costasBandwidth, bool brokenModulation, bool oqpsk, double omegaGain, double muGain, double omegaRelLimit = 0.01) { _symbolrate = symbolrate; _samplerate = samplerate; _rrcTapCount = rrcTapCount; _rrcBeta = rrcBeta; + _oqpsk = oqpsk; rrcTaps = taps::rootRaisedCosine(_rrcTapCount, _rrcBeta, _symbolrate, _samplerate); rrc.init(NULL, rrcTaps); @@ -132,7 +133,7 @@ namespace dsp::demod { void setOQPSK(bool enabled) { assert(base_type::_block_init); std::lock_guard lck(base_type::ctrlMtx); - oqpsk = enabled; + _oqpsk = enabled; } void reset() { @@ -151,7 +152,7 @@ namespace dsp::demod { agc.process(count, out, out); costas.process(count, out, out); - if (oqpsk) { + if (_oqpsk) { // Single sample delay + deinterleave for (int i = 0; i < count; i++) { float tmp = out[i].im; @@ -185,7 +186,7 @@ namespace dsp::demod { int _rrcTapCount; double _rrcBeta; float lastI = 0.0f; - bool oqpsk = false; + bool _oqpsk = false; tap rrcTaps; filter::FIR rrc; From 6cd09f9b609f6634d688df3c6ad17bf6330264e6 Mon Sep 17 00:00:00 2001 From: Benjamin Vernoux Date: Sun, 2 Jul 2023 16:44:47 +0200 Subject: [PATCH 22/23] Workaround for RtAudio Exception when no Input are connected on MIC IN on some computer Issue reproduced with Windows11 Pro + ROG CROSSHAIR X670E HERO Workaround for RtAudio just add try/catch and log the error but allow to start SDR++ --- sink_modules/audio_sink/src/main.cpp | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/sink_modules/audio_sink/src/main.cpp b/sink_modules/audio_sink/src/main.cpp index be438031..1c94f2ba 100644 --- a/sink_modules/audio_sink/src/main.cpp +++ b/sink_modules/audio_sink/src/main.cpp @@ -45,16 +45,20 @@ public: int count = audio.getDeviceCount(); RtAudio::DeviceInfo info; for (int i = 0; i < count; i++) { - info = audio.getDeviceInfo(i); - if (!info.probed) { continue; } - if (info.outputChannels == 0) { continue; } - if (info.isDefaultOutput) { defaultDevId = devList.size(); } - devList.push_back(info); - deviceIds.push_back(i); - txtDevList += info.name; - txtDevList += '\0'; + try { + info = audio.getDeviceInfo(i); + if (!info.probed) { continue; } + if (info.outputChannels == 0) { continue; } + if (info.isDefaultOutput) { defaultDevId = devList.size(); } + devList.push_back(info); + deviceIds.push_back(i); + txtDevList += info.name; + txtDevList += '\0'; + } + catch (std::exception e) { + flog::error("AudioSinkModule Error getting audio device info: {0}", e.what()); + } } - selectByName(device); } From 87add9ad83d7e0ae3770a8291a2b355d25b62855 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 2 Jul 2023 17:03:52 +0200 Subject: [PATCH 23/23] Fix formatting --- sink_modules/audio_sink/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sink_modules/audio_sink/src/main.cpp b/sink_modules/audio_sink/src/main.cpp index 1c94f2ba..15b7c260 100644 --- a/sink_modules/audio_sink/src/main.cpp +++ b/sink_modules/audio_sink/src/main.cpp @@ -56,7 +56,7 @@ public: txtDevList += '\0'; } catch (std::exception e) { - flog::error("AudioSinkModule Error getting audio device info: {0}", e.what()); + flog::error("AudioSinkModule Error getting audio device info: {0}", e.what()); } } selectByName(device); @@ -294,4 +294,4 @@ MOD_EXPORT void _DELETE_INSTANCE_(void* instance) { MOD_EXPORT void _END_() { config.disableAutoSave(); config.save(); -} \ No newline at end of file +}