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_fw_ctrl_iface.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_fw_ctrl_iface.hpp')
-rw-r--r-- | host/lib/usrp/n230/n230_fw_ctrl_iface.hpp | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/host/lib/usrp/n230/n230_fw_ctrl_iface.hpp b/host/lib/usrp/n230/n230_fw_ctrl_iface.hpp deleted file mode 100644 index 942640332..000000000 --- a/host/lib/usrp/n230/n230_fw_ctrl_iface.hpp +++ /dev/null @@ -1,62 +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_LIBUHD_USRP_N230_UDP_FW_CTRL_IFACE_HPP -#define INCLUDED_LIBUHD_USRP_N230_UDP_FW_CTRL_IFACE_HPP - -#include <uhd/types/wb_iface.hpp> -#include <uhd/transport/udp_simple.hpp> -#include <boost/thread/mutex.hpp> -#include <vector> - -namespace uhd { namespace usrp { namespace n230 { - -class n230_fw_ctrl_iface : public uhd::wb_iface -{ -public: - n230_fw_ctrl_iface( - uhd::transport::udp_simple::sptr udp_xport, - const uint16_t product_id, - const bool verbose); - virtual ~n230_fw_ctrl_iface(); - - // -- uhd::wb_iface -- - void poke32(const wb_addr_type addr, const uint32_t data); - uint32_t peek32(const wb_addr_type addr); - void flush(); - - static uhd::wb_iface::sptr make( - uhd::transport::udp_simple::sptr udp_xport, - const uint16_t product_id, - const bool verbose = true); - // -- uhd::wb_iface -- - - static std::vector<std::string> discover_devices( - const std::string& addr_hint, const std::string& port, - uint16_t product_id); - - static uint32_t get_iface_id( - const std::string& addr, const std::string& port, - uint16_t product_id); - -private: - void _poke32(const wb_addr_type addr, const uint32_t data); - uint32_t _peek32(const wb_addr_type addr); - void _flush(void); - - const uint16_t _product_id; - const bool _verbose; - uhd::transport::udp_simple::sptr _udp_xport; - uint32_t _seq_num; - boost::mutex _mutex; - - static const size_t NUM_RETRIES = 3; -}; - -}}} //namespace - -#endif // INCLUDED_LIBUHD_USRP_N230_UDP_FW_CTRL_IFACE_HPP |