aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/dboard_id.hpp3
-rw-r--r--host/include/uhd/usrp/usrp1e.hpp6
2 files changed, 8 insertions, 1 deletions
diff --git a/host/include/uhd/usrp/dboard_id.hpp b/host/include/uhd/usrp/dboard_id.hpp
index cdd6a4395..4b2392bee 100644
--- a/host/include/uhd/usrp/dboard_id.hpp
+++ b/host/include/uhd/usrp/dboard_id.hpp
@@ -26,9 +26,10 @@ namespace uhd{ namespace usrp{
typedef boost::uint16_t dboard_id_t;
-static const dboard_id_t ID_NONE = 0xffff;
+static const dboard_id_t ID_NONE = 0xffff; //TODO: REMOVE ME
namespace dboard_id{
+ static const dboard_id_t NONE = 0xffff;
UHD_API std::string to_string(const dboard_id_t &id);
}
diff --git a/host/include/uhd/usrp/usrp1e.hpp b/host/include/uhd/usrp/usrp1e.hpp
index 5cba4ef52..f4cc39d8e 100644
--- a/host/include/uhd/usrp/usrp1e.hpp
+++ b/host/include/uhd/usrp/usrp1e.hpp
@@ -42,6 +42,12 @@ public:
* \return a device sptr to a new usrp1e
*/
static device::sptr make(const device_addr_t &addr);
+
+ /*!
+ * Load the FPGA with an image file.
+ * \param bin_file the name of the fpga image file
+ */
+ static void load_fpga(const std::string &bin_file);
};
}} //namespace