diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-06-07 10:17:49 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:08 -0800 |
commit | d94140a4129d6b2153b15860eeb2406672ebb414 (patch) | |
tree | 5b3c1df56b933367962368834aa1c13e7bc45836 /host/lib/usrp/n230/n230_impl.hpp | |
parent | 6c756248146c023c02b2cd96b697c21aefa9bf36 (diff) | |
download | uhd-d94140a4129d6b2153b15860eeb2406672ebb414.tar.gz uhd-d94140a4129d6b2153b15860eeb2406672ebb414.tar.bz2 uhd-d94140a4129d6b2153b15860eeb2406672ebb414.zip |
uhd: Remove support for N230
Note: N230 is still supported on the 3.15 LTS branch
Diffstat (limited to 'host/lib/usrp/n230/n230_impl.hpp')
-rw-r--r-- | host/lib/usrp/n230/n230_impl.hpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/host/lib/usrp/n230/n230_impl.hpp b/host/lib/usrp/n230/n230_impl.hpp deleted file mode 100644 index 213f0f61e..000000000 --- a/host/lib/usrp/n230/n230_impl.hpp +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright 2014 Ettus Research LLC -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#ifndef INCLUDED_N230_IMPL_HPP -#define INCLUDED_N230_IMPL_HPP - -#include <uhd/property_tree.hpp> -#include <uhd/device.hpp> -#include <uhd/usrp/subdev_spec.hpp> - -#include "n230_device_args.hpp" -#include "n230_eeprom_manager.hpp" -#include "n230_resource_manager.hpp" -#include "n230_stream_manager.hpp" -#include <uhdlib/usrp/common/recv_packet_demuxer_3000.hpp> - -namespace uhd { namespace usrp { namespace n230 { - -class n230_impl : public uhd::device -{ -public: //Functions - // ctor and dtor - n230_impl(const uhd::device_addr_t& device_addr); - virtual ~n230_impl(void); - - //--------------------------------------------------------------------- - // uhd::device interface - // - static sptr make(const uhd::device_addr_t &hint, size_t which = 0); - - //! Make a new receive streamer from the streamer arguments - virtual uhd::rx_streamer::sptr get_rx_stream(const uhd::stream_args_t &args); - - //! Make a new transmit streamer from the streamer arguments - virtual uhd::tx_streamer::sptr get_tx_stream(const uhd::stream_args_t &args); - - //!Receive and asynchronous message from the device. - virtual bool recv_async_msg(uhd::async_metadata_t &async_metadata, double timeout = 0.1); - - //!Registration methods the discovery and factory system. - //[static void register_device(const find_t &find, const make_t &make)] - static uhd::device_addrs_t n230_find(const uhd::device_addr_t &hint); - static uhd::device::sptr n230_make(const uhd::device_addr_t &device_addr); - // - //--------------------------------------------------------------------- - - typedef uhd::transport::bounded_buffer<uhd::async_metadata_t> async_md_type; - -private: //Functions - void _initialize_property_tree(const fs_path& mb_path); - void _initialize_radio_properties(const fs_path& mb_path, size_t instance); - - void _update_rx_subdev_spec(const uhd::usrp::subdev_spec_t &); - void _update_tx_subdev_spec(const uhd::usrp::subdev_spec_t &); - void _check_time_source(std::string); - void _check_clock_source(std::string); - -private: //Classes and Members - n230_device_args_t _dev_args; - boost::shared_ptr<n230_resource_manager> _resource_mgr; - boost::shared_ptr<n230_eeprom_manager> _eeprom_mgr; - boost::shared_ptr<n230_stream_manager> _stream_mgr; -}; - -}}} //namespace - -#endif /* INCLUDED_N230_IMPL_HPP */ |