aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-08-20 10:00:47 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:16:25 -0800
commit7d69dcdcc318ccdf87038b732acbf2bf7c087b60 (patch)
tree8179f2f4a14be591d7c856f77f13687b45f9a454 /host/examples
parent1ac6e6f56100a7e8186481ab0715937759f52737 (diff)
downloaduhd-7d69dcdcc318ccdf87038b732acbf2bf7c087b60.tar.gz
uhd-7d69dcdcc318ccdf87038b732acbf2bf7c087b60.tar.bz2
uhd-7d69dcdcc318ccdf87038b732acbf2bf7c087b60.zip
Remove proto-RFNoC files
This commit removes all files and parts of files that are used by proto-RFNoC only. uhd: Fix include CMakeLists.txt, add missing files
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/CMakeLists.txt16
-rw-r--r--host/examples/benchmark_streamer.cpp1
-rw-r--r--host/examples/rfnoc_nullsource_ce_rx.cpp1
-rw-r--r--host/examples/rfnoc_radio_loopback.cpp1
4 files changed, 5 insertions, 14 deletions
diff --git a/host/examples/CMakeLists.txt b/host/examples/CMakeLists.txt
index 735795d55..8578e2035 100644
--- a/host/examples/CMakeLists.txt
+++ b/host/examples/CMakeLists.txt
@@ -28,19 +28,13 @@ set(example_sources
latency_test.cpp
gpio.cpp
sync_to_gps.cpp
+ rfnoc_nullsource_ce_rx.cpp
+ rfnoc_rx_to_file.cpp
+ #rfnoc_radio_loopback.cpp
+ #benchmark_streamer.cpp
+ #replay_samples_from_file.cpp
)
-if(ENABLE_RFNOC)
- list(APPEND
- example_sources
- rfnoc_nullsource_ce_rx.cpp
- rfnoc_rx_to_file.cpp
- rfnoc_radio_loopback.cpp
- replay_samples_from_file.cpp
- benchmark_streamer.cpp
- )
-endif(ENABLE_RFNOC)
-
if(ENABLE_OCTOCLOCK)
list(APPEND example_sources test_clock_synch.cpp)
endif(ENABLE_OCTOCLOCK)
diff --git a/host/examples/benchmark_streamer.cpp b/host/examples/benchmark_streamer.cpp
index 2b82acf7e..c2f3a4b2c 100644
--- a/host/examples/benchmark_streamer.cpp
+++ b/host/examples/benchmark_streamer.cpp
@@ -5,7 +5,6 @@
//
#include <uhd/convert.hpp>
-#include <uhd/device3.hpp>
#include <uhd/rfnoc/block_ctrl.hpp>
#include <uhd/rfnoc/ddc_block_ctrl.hpp>
#include <uhd/rfnoc/duc_block_ctrl.hpp>
diff --git a/host/examples/rfnoc_nullsource_ce_rx.cpp b/host/examples/rfnoc_nullsource_ce_rx.cpp
index 640e5bcff..368b6ab5d 100644
--- a/host/examples/rfnoc_nullsource_ce_rx.cpp
+++ b/host/examples/rfnoc_nullsource_ce_rx.cpp
@@ -20,7 +20,6 @@
// crossbar (provided it has stream-through capabilities)
// and then streams the result to the host, writing it into a file.
-#include <uhd/device3.hpp>
#include <uhd/exception.hpp>
#include <uhd/rfnoc/block_control.hpp>
#include <uhd/rfnoc/null_block_control.hpp>
diff --git a/host/examples/rfnoc_radio_loopback.cpp b/host/examples/rfnoc_radio_loopback.cpp
index 92046eebc..dffe30b3b 100644
--- a/host/examples/rfnoc_radio_loopback.cpp
+++ b/host/examples/rfnoc_radio_loopback.cpp
@@ -8,7 +8,6 @@
// Example UHD/RFNoC application: Connect an rx radio to a tx radio and
// run a loopback.
-#include <uhd/device3.hpp>
#include <uhd/rfnoc/radio_ctrl.hpp>
#include <uhd/utils/math.hpp>
#include <uhd/utils/safe_main.hpp>