aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rfspace/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2013-12-18 23:55:10 +0100
committerDimitri Stolnikov <horiz0n@gmx.net>2013-12-22 16:28:27 +0100
commit9c6ac9e3e3878a5cbe1a261e91350a9123dec532 (patch)
treef32ca7364b68e7912a1748129b8c92e3179679ec /lib/rfspace/CMakeLists.txt
parent5410ee53b26f954f9895f84257526e5b0c88e1d4 (diff)
rfspace: add support for RFSPACE SDR-IQ and SDR-IP
Usage example: osmocom_fft -a sdr-iq=/dev/ttyUSB0 osmocom_fft -a sdr-ip=host[:port] osmocom_fft -a netsdr=host[:port][,nchan=2] The following named gain stages are available: SDR-IQ: ATT: -20 to +10 dB, in 10dB steps SDR-IP: ATT: -30 to 0 dB, in 10dB steps The ftdi_sio driver is being used for SDR-IQ. It creates a character device of the form: crw-rw---- 1 root dialout 188, 0 Dec 19 22:14 /dev/ttyUSB0 To be able to open the device without root permissions add yourself to the "dialout" group or do a "chmod 666 /dev/ttyUSB0" after pluggin in.
Diffstat (limited to 'lib/rfspace/CMakeLists.txt')
-rw-r--r--lib/rfspace/CMakeLists.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/rfspace/CMakeLists.txt b/lib/rfspace/CMakeLists.txt
new file mode 100644
index 0000000..eebc15d
--- /dev/null
+++ b/lib/rfspace/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Copyright 2012 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+
+########################################################################
+# This file included, use CMake directory variables
+########################################################################
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+set(rfspace_srcs
+ ${CMAKE_CURRENT_SOURCE_DIR}/rfspace_source_c.cc
+)
+
+########################################################################
+# Append gnuradio-osmosdr library sources
+########################################################################
+list(APPEND gr_osmosdr_srcs ${rfspace_srcs})
+#list(APPEND gr_osmosdr_libs ...)
+