From 173531521970ed823b2f300180b8cacda94ec841 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 25 Jul 2019 10:41:25 -0700 Subject: x300: Refactor heavily This pulls out a lot of code from x300_impl and puts it into its own compilation units: - EEPROM code goes to x300_mb_eeprom.* - Claim code goes to x300_claim.* - PCIe code goes to uhd::usrp::x300::pcie_manager - Ethernet code goes to uhd::usrp::x300::eth_manager --- host/lib/usrp/x300/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/usrp/x300/CMakeLists.txt') diff --git a/host/lib/usrp/x300/CMakeLists.txt b/host/lib/usrp/x300/CMakeLists.txt index 76a9e6b54..062db3f16 100644 --- a/host/lib/usrp/x300/CMakeLists.txt +++ b/host/lib/usrp/x300/CMakeLists.txt @@ -1,6 +1,7 @@ # # Copyright 2013,2015 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company +# Copyright 2019 Ettus Research, a National Instruments Brand # # SPDX-License-Identifier: GPL-3.0-or-later # @@ -14,12 +15,14 @@ ######################################################################## if(ENABLE_X300) LIBUHD_APPEND_SOURCES( + ${CMAKE_CURRENT_SOURCE_DIR}/x300_claim.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_radio_ctrl_impl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_impl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_fw_ctrl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_fw_uart.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_adc_ctrl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_dac_ctrl.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/x300_eth_mgr.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_io_impl.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_dboard_iface.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_clock_ctrl.cpp @@ -28,6 +31,7 @@ if(ENABLE_X300) ${CMAKE_CURRENT_SOURCE_DIR}/x300_mb_eeprom.cpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_mboard_type.hpp ${CMAKE_CURRENT_SOURCE_DIR}/x300_mboard_type.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/x300_pcie_mgr.cpp ${CMAKE_CURRENT_SOURCE_DIR}/cdecode.c ) endif(ENABLE_X300) -- cgit v1.2.3