aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/usrp_e_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-27 13:10:48 -0700
committerJosh Blum <josh@joshknows.com>2010-10-27 13:10:48 -0700
commitfa7704be20005a705efdc96aa785d80911638107 (patch)
treec19fcf6e272468389371f116578f770278eac44d /host/lib/usrp/usrp_e/usrp_e_impl.hpp
parent9585a0b6fd88efd2a8bd43c8b034ae21264b9fc4 (diff)
downloaduhd-fa7704be20005a705efdc96aa785d80911638107.tar.gz
uhd-fa7704be20005a705efdc96aa785d80911638107.tar.bz2
uhd-fa7704be20005a705efdc96aa785d80911638107.zip
usrp-e: implemented fpga loading and compat checking
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.hpp')
-rw-r--r--host/lib/usrp/usrp_e/usrp_e_impl.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.hpp b/host/lib/usrp/usrp_e/usrp_e_impl.hpp
index 9799cd645..421a9623d 100644
--- a/host/lib/usrp/usrp_e/usrp_e_impl.hpp
+++ b/host/lib/usrp/usrp_e/usrp_e_impl.hpp
@@ -31,6 +31,8 @@
#define INCLUDED_USRP_E_IMPL_HPP
static const double MASTER_CLOCK_RATE = 64e6; //TODO get from clock control
+static const char *hash_file_path = "/tmp/usrp_e100_hash";
+static const boost::uint16_t USRP_E_COMPAT_NUM = 0x02;
//! load an fpga image from a bin file into the usrp-e fpga
extern void usrp_e_load_fpga(const std::string &bin_file);
@@ -79,7 +81,7 @@ private:
class usrp_e_impl : public uhd::device{
public:
//structors
- usrp_e_impl(const std::string &node);
+ usrp_e_impl(usrp_e_iface::sptr);
~usrp_e_impl(void);
//the io interface