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