From 151ba5fb06dfdb6fcc46ccfdabf5f1e064236981 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 25 Apr 2017 17:00:34 -0700 Subject: mpm: Major refactoring - Created clean interfaces for SPI and registers - Severed most links to UHD - Added a lockable class which allows exposing mutexes into Python --- mpm/python/pyusrp_periphs.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'mpm/python') diff --git a/mpm/python/pyusrp_periphs.cpp b/mpm/python/pyusrp_periphs.cpp index cb370d874..2c6ea869b 100644 --- a/mpm/python/pyusrp_periphs.cpp +++ b/mpm/python/pyusrp_periphs.cpp @@ -27,12 +27,11 @@ //#include "types.hpp" #include "converters.hpp" -#include "mpm/xbar_iface.hpp" +#include +#include #include -#include -#include "mpm/dboards/magnesium_manager.hpp" -//#include "lib_periphs.hpp" -//#include "dboards.hpp" +#include +#include #include namespace bp = boost::python; @@ -42,10 +41,9 @@ BOOST_PYTHON_MODULE(libpyusrp_periphs) bp::object package = bp::scope(); package.attr("__path__") = "libpyusrp_periphs"; export_converter(); - //export_types(); + export_types(); //export_spi(); - export_lmk(); export_mykonos(); export_xbar(); - export_dboards(); + export_magnesium(); } -- cgit v1.2.3