From 52dea1e0b7f47614c37c04d8f202f5ab458a9192 Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Sat, 12 May 2012 20:19:45 +0200 Subject: [PATCH] remove unused grc source/sink block files --- grc/CMakeLists.txt | 6 --- grc/osmosdr_sink_c.xml | 14 ------- grc/osmosdr_source_c.xml | 87 ---------------------------------------- 3 files changed, 107 deletions(-) delete mode 100644 grc/osmosdr_sink_c.xml delete mode 100644 grc/osmosdr_source_c.xml diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt index 5344842..d30761e 100644 --- a/grc/CMakeLists.txt +++ b/grc/CMakeLists.txt @@ -17,12 +17,6 @@ # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. -#install(FILES -# osmosdr_source_c.xml -## osmosdr_sink_c.xml -# DESTINATION share/gnuradio/grc/blocks -#) - ######################################################################## # Rules for generating the source and sink xml wrappers ######################################################################## diff --git a/grc/osmosdr_sink_c.xml b/grc/osmosdr_sink_c.xml deleted file mode 100644 index 999f218..0000000 --- a/grc/osmosdr_sink_c.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - OsmoSDR Sink - osmosdr_sink_c - OsmoSDR - 1 - import osmosdr - osmosdr.sink_c() - - in - complex - 1 - - diff --git a/grc/osmosdr_source_c.xml b/grc/osmosdr_source_c.xml deleted file mode 100644 index 6c99874..0000000 --- a/grc/osmosdr_source_c.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - OsmoSDR Source - osmosdr_source_c - OsmoSDR - 1 - import osmosdr - osmosdr.source_c($args) -self.$(id).set_sample_rate($rate) -self.$(id).set_center_freq($freq) -self.$(id).set_freq_corr($corr) -self.$(id).set_gain($gain) -self.$(id).set_antenna($antenna) - - set_center_freq($freq) - set_freq_corr($corr) - set_sample_rate($rate) - set_gain($gain) - set_antenna($antenna) - - Device arguments - args - - string - - - Frequency (Hz) - freq - 392.8e6 - real - - - Freq. corr. (ppm) - corr - 0 - real - - - Sample rate (Hz) - rate - 1024000 - real - - - Gain (dB) - gain - 20.0 - real - - - Antenna - antenna - - string - - ($freq >= 50e6) and ($freq <= 2.2e9) - ($rate >= 1e6) and ($rate <= 3.2e6) - - out - complex - 1 - - -The OsmoSDR Source Block: - -Device Arguments: -The device address is a delimited string used to locate devices on your system. -Use the device address to specify a specific device or list of devices. -If left blank, the first device found will be used. - -Frequency: -The center frequency is the overall frequency of the RF chain. - -Frequency correction: -The frequency correction factor in parts per million (ppm). - -Sample rate: -The sample rate is the number of samples per second output by this block. - -Gain: -Overall RF gain of the device. - -Antenna: -For devices with only one antenna, this may be left blank. -Otherwise, the user should specify one of the possible antenna choices. - -