mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
BladeRF Tx support: rename more Rx files and cmake items
This commit is contained in:
parent
da53b153ab
commit
7ef54cc2e0
@ -29,7 +29,7 @@ endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
||||
|
||||
find_package(LibBLADERF)
|
||||
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
||||
add_subdirectory(bladerf)
|
||||
add_subdirectory(bladerfinput)
|
||||
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
||||
|
||||
find_package(LibAIRSPY)
|
||||
@ -68,7 +68,7 @@ if (BUILD_DEBIAN)
|
||||
add_subdirectory(airspy)
|
||||
add_subdirectory(hackrf)
|
||||
add_subdirectory(rtlsdr)
|
||||
add_subdirectory(bladerf)
|
||||
add_subdirectory(bladerfinput)
|
||||
add_subdirectory(sdrplay)
|
||||
endif (BUILD_DEBIAN)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
project(bladerf)
|
||||
project(bladerfinput)
|
||||
|
||||
set(bladerf_SOURCES
|
||||
set(bladerfinput_SOURCES
|
||||
bladerfinputgui.cpp
|
||||
bladerfinput.cpp
|
||||
bladerfinputplugin.cpp
|
||||
@ -8,7 +8,7 @@ set(bladerf_SOURCES
|
||||
bladerfinputthread.cpp
|
||||
)
|
||||
|
||||
set(bladerf_HEADERS
|
||||
set(bladerfinput_HEADERS
|
||||
bladerfinputgui.h
|
||||
bladerfinput.h
|
||||
bladerfinputplugin.h
|
||||
@ -16,7 +16,7 @@ set(bladerf_HEADERS
|
||||
bladerfinputthread.h
|
||||
)
|
||||
|
||||
set(bladerf_FORMS
|
||||
set(bladerfinput_FORMS
|
||||
bladerfinputgui.ui
|
||||
)
|
||||
|
||||
@ -40,13 +40,13 @@ add_definitions(${QT_DEFINITIONS})
|
||||
add_definitions(-DQT_PLUGIN)
|
||||
add_definitions(-DQT_SHARED)
|
||||
|
||||
#qt4_wrap_cpp(bladerf_HEADERS_MOC ${bladerf_HEADERS})
|
||||
qt5_wrap_ui(bladerf_FORMS_HEADERS ${bladerf_FORMS})
|
||||
#qt4_wrap_cpp(bladerfinput_HEADERS_MOC ${bladerfinput_HEADERS})
|
||||
qt5_wrap_ui(bladerfinput_FORMS_HEADERS ${bladerfinput_FORMS})
|
||||
|
||||
add_library(inputbladerf SHARED
|
||||
${bladerf_SOURCES}
|
||||
${bladerf_HEADERS_MOC}
|
||||
${bladerf_FORMS_HEADERS}
|
||||
${bladerfinput_SOURCES}
|
||||
${bladerfinput_HEADERS_MOC}
|
||||
${bladerfinput_FORMS_HEADERS}
|
||||
)
|
||||
|
||||
if (BUILD_DEBIAN)
|
@ -14,6 +14,8 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "../bladerfinput/bladerfinput.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <QDebug>
|
||||
@ -21,12 +23,10 @@
|
||||
#include "util/simpleserializer.h"
|
||||
#include "dsp/dspcommands.h"
|
||||
#include "dsp/dspengine.h"
|
||||
#include "bladerfinput.h"
|
||||
|
||||
#include <device/devicesourceapi.h>
|
||||
|
||||
#include "bladerfinputgui.h"
|
||||
#include "bladerfinputthread.h"
|
||||
#include "../bladerfinput/bladerfinputgui.h"
|
||||
#include "../bladerfinput/bladerfinputthread.h"
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(BladerfInput::MsgConfigureBladerf, Message)
|
||||
MESSAGE_CLASS_DEFINITION(BladerfInput::MsgReportBladerf, Message)
|
@ -21,7 +21,8 @@
|
||||
|
||||
#include <libbladeRF.h>
|
||||
#include <QString>
|
||||
#include "bladerfinputsettings.h"
|
||||
|
||||
#include "../bladerfinput/bladerfinputsettings.h"
|
||||
|
||||
class DeviceSourceAPI;
|
||||
class BladerfInputThread;
|
@ -14,6 +14,8 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "../bladerfinput/bladerfinputgui.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
|
||||
@ -26,7 +28,6 @@
|
||||
#include "dsp/dspcommands.h"
|
||||
#include <device/devicesourceapi.h>
|
||||
#include <dsp/filerecord.h>
|
||||
#include "bladerfinputgui.h"
|
||||
|
||||
BladerfInputGui::BladerfInputGui(DeviceSourceAPI *deviceAPI, QWidget* parent) :
|
||||
QWidget(parent),
|
@ -20,7 +20,7 @@
|
||||
#include <QTimer>
|
||||
#include "plugin/plugingui.h"
|
||||
|
||||
#include "bladerfinput.h"
|
||||
#include "../bladerfinput/bladerfinput.h"
|
||||
|
||||
class DeviceSourceAPI;
|
||||
class FileRecord;
|
@ -14,14 +14,16 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "../bladerfinput/bladerfinputplugin.h"
|
||||
|
||||
#include <QtPlugin>
|
||||
#include <QAction>
|
||||
#include <libbladeRF.h>
|
||||
#include "plugin/pluginapi.h"
|
||||
#include "util/simpleserializer.h"
|
||||
#include <device/devicesourceapi.h>
|
||||
#include "bladerfinputplugin.h"
|
||||
#include "bladerfinputgui.h"
|
||||
|
||||
#include "../bladerfinput/bladerfinputgui.h"
|
||||
|
||||
const PluginDescriptor BlderfInputPlugin::m_pluginDescriptor = {
|
||||
QString("BladerRF Input"),
|
@ -14,10 +14,11 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "bladerfinputsettings.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include "util/simpleserializer.h"
|
||||
|
||||
#include "bladerfinputsettings.h"
|
||||
|
||||
BladeRFInputSettings::BladeRFInputSettings()
|
||||
{
|
@ -17,6 +17,7 @@
|
||||
#ifndef _BLADERF_BLADERFINPUTSETTINGS_H_
|
||||
#define _BLADERF_BLADERFINPUTSETTINGS_H_
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <libbladeRF.h>
|
||||
|
||||
struct BladeRFInputSettings {
|
@ -14,10 +14,11 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "../bladerfinput/bladerfinputthread.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include "dsp/samplesinkfifo.h"
|
||||
#include "bladerfinputthread.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user