aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-04-17 19:33:53 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-07-18 15:37:27 -0700
commit7d28d9140e2c57db36b37d60d9ce4bff86357bac (patch)
treeb775d13d8b0386bea39adaf279511e24c51f35f6 /host/lib/usrp/common
parent300a5e3f6e5e845b4b8d093222e1c51ca4640f79 (diff)
downloaduhd-7d28d9140e2c57db36b37d60d9ce4bff86357bac.tar.gz
uhd-7d28d9140e2c57db36b37d60d9ce4bff86357bac.tar.bz2
uhd-7d28d9140e2c57db36b37d60d9ce4bff86357bac.zip
uhd: initial commit of UHD support for E320
Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r--host/lib/usrp/common/CMakeLists.txt4
-rw-r--r--host/lib/usrp/common/ad9361_ctrl.cpp8
2 files changed, 2 insertions, 10 deletions
diff --git a/host/lib/usrp/common/CMakeLists.txt b/host/lib/usrp/common/CMakeLists.txt
index 082a047e7..feb4390e3 100644
--- a/host/lib/usrp/common/CMakeLists.txt
+++ b/host/lib/usrp/common/CMakeLists.txt
@@ -14,14 +14,14 @@ IF(ENABLE_USB)
)
ENDIF(ENABLE_USB)
-IF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230)
+IF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320)
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver")
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/ad9361_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ad936x_manager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver/ad9361_device.cpp
)
-ENDIF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230)
+ENDIF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
diff --git a/host/lib/usrp/common/ad9361_ctrl.cpp b/host/lib/usrp/common/ad9361_ctrl.cpp
index 3cf89ad7a..003711d52 100644
--- a/host/lib/usrp/common/ad9361_ctrl.cpp
+++ b/host/lib/usrp/common/ad9361_ctrl.cpp
@@ -212,14 +212,6 @@ public:
_device.set_dc_offset_auto(direction,on);
}
- std::string get_lo_source(const std::string &which)
- {
- const auto dir = _get_direction_from_antenna(which);
- //TODO: Implement this
- boost::lock_guard<boost::mutex> lock(_mutex);
- return "internal";
- }
-
void set_iq_balance_auto(const std::string &which, const bool on)
{
boost::lock_guard<boost::mutex> lock(_mutex);