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_eeprom_manager.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_eeprom_manager.hpp')
-rw-r--r-- | host/lib/usrp/n230/n230_eeprom_manager.hpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/host/lib/usrp/n230/n230_eeprom_manager.hpp b/host/lib/usrp/n230/n230_eeprom_manager.hpp deleted file mode 100644 index 72735916f..000000000 --- a/host/lib/usrp/n230/n230_eeprom_manager.hpp +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright 2013-2014 Ettus Research LLC -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#ifndef INCLUDED_N230_EEPROM_MANAGER_HPP -#define INCLUDED_N230_EEPROM_MANAGER_HPP - -#include <boost/thread/mutex.hpp> -#include <uhd/transport/udp_simple.hpp> -#include <uhd/types/dict.hpp> -#include <uhd/usrp/mboard_eeprom.hpp> -#include "n230_fw_host_iface.h" - -namespace uhd { namespace usrp { namespace n230 { - -class n230_eeprom_manager : uhd::noncopyable -{ -public: - n230_eeprom_manager(const std::string& addr); - - const mboard_eeprom_t& read_mb_eeprom(); - void write_mb_eeprom(const mboard_eeprom_t& eeprom); - - inline const mboard_eeprom_t& get_mb_eeprom() { - return _mb_eeprom; - } - -private: //Functions - void _transact(const uint32_t command); - void _flush_xport(); - -private: //Members - mboard_eeprom_t _mb_eeprom; - transport::udp_simple::sptr _udp_xport; - n230_flash_prog_t _request; - n230_flash_prog_t _response; - uint32_t _seq_num; - boost::mutex _mutex; - - static const double UDP_TIMEOUT_IN_SEC; -}; - -}}} //namespace - -#endif /* INCLUDED_N230_EEPROM_MANAGER_HPP */ |