From ce389dfd7968da437b6dbbe7d5c115cc79aff671 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Tue, 13 Apr 2021 18:35:31 +0200 Subject: [PATCH] Added HackRF source built by default --- CMakeLists.txt | 2 +- core/src/core.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a2cb65b..90943e61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ option(OPT_BUILD_AIRSPY_SOURCE "Build Airspy Source Module (Depedencies: libairs option(OPT_BUILD_BLADERF_SOURCE "Build BladeRF Source Module (Depedencies: libbladeRF)" OFF) option(OPT_BUILD_SDRPLAY_SOURCE "Build SDRplay Source Module (Depedencies: libsdrplay)" OFF) option(OPT_BUILD_PLUTOSDR_SOURCE "Build PlutoSDR Source Module (Depedencies: libiio, libad9361)" ON) -option(OPT_BUILD_HACKRF_SOURCE "Build HackRF Source Module (Depedencies: libhackrf)" OFF) +option(OPT_BUILD_HACKRF_SOURCE "Build HackRF Source Module (Depedencies: libhackrf)" ON) option(OPT_BUILD_RTL_SDR_SOURCE "Build RTL-SDR Source Module (Depedencies: librtlsdr)" ON) option(OPT_BUILD_AUDIO_SINK "Build Audio Sink Module (Depedencies: rtaudio)" ON) option(OPT_BUILD_FALCON9_DECODER "Build the falcon9 live decoder (Dependencies: ffplay)" OFF) diff --git a/core/src/core.cpp b/core/src/core.cpp index f6fe8b61..5c5b8494 100644 --- a/core/src/core.cpp +++ b/core/src/core.cpp @@ -130,6 +130,7 @@ int sdrpp_main(int argc, char *argv[]) { defConfig["moduleInstances"]["Recorder"] = "recorder"; defConfig["moduleInstances"]["SoapySDR Source"] = "soapy_source"; defConfig["moduleInstances"]["PlutoSDR Source"] = "plutosdr_source"; + defConfig["moduleInstances"]["HackRF Source"] = "hackrf_source"; defConfig["moduleInstances"]["RTL-TCP Source"] = "rtl_tcp_source"; defConfig["moduleInstances"]["RTL-SDR Source"] = "rtl_sdr_source"; defConfig["moduleInstances"]["AirspyHF+ Source"] = "airspyhf_source";