aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/usrp_e_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-07 02:19:20 +0000
committerJosh Blum <josh@joshknows.com>2010-07-07 02:19:20 +0000
commit998fee6ef064f1d53a61dd0eec79276d1e85291e (patch)
tree7487985ca1a92bf1b9e89de10f490e11504cd51b /host/lib/usrp/usrp_e/usrp_e_impl.hpp
parent89a22c7dd531b1754f2401037a4a5c971139bd97 (diff)
downloaduhd-998fee6ef064f1d53a61dd0eec79276d1e85291e.tar.gz
uhd-998fee6ef064f1d53a61dd0eec79276d1e85291e.tar.bz2
uhd-998fee6ef064f1d53a61dd0eec79276d1e85291e.zip
usrp-e: removed top level header for usrp-e and fpga burner app, were not going to do it that way...
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.hpp')
-rw-r--r--host/lib/usrp/usrp_e/usrp_e_impl.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.hpp b/host/lib/usrp/usrp_e/usrp_e_impl.hpp
index 487e295cb..e6bea1358 100644
--- a/host/lib/usrp/usrp_e/usrp_e_impl.hpp
+++ b/host/lib/usrp/usrp_e/usrp_e_impl.hpp
@@ -18,8 +18,8 @@
#include "usrp_e_iface.hpp"
#include "clock_ctrl.hpp"
#include "codec_ctrl.hpp"
+#include <uhd/device.hpp>
#include <uhd/utils/pimpl.hpp>
-#include <uhd/usrp/usrp_e.hpp>
#include <uhd/usrp/dboard_eeprom.hpp>
#include <uhd/types/clock_config.hpp>
#include <uhd/types/stream_cmd.hpp>
@@ -28,7 +28,10 @@
#ifndef INCLUDED_USRP_E_IMPL_HPP
#define INCLUDED_USRP_E_IMPL_HPP
-static const double MASTER_CLOCK_RATE = 64e6;
+static const double MASTER_CLOCK_RATE = 64e6; //TODO get from clock control
+
+//! load an fpga image from a bin file into the usrp-e fpga
+extern void usrp_e_load_fpga(const std::string &bin_file);
/*!
* Make a usrp-e dboard interface.