aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-07-25 17:29:02 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-10-09 17:11:08 -0700
commit6466ae1d3eedec66c8eb1014ceb3ca48d25e72d5 (patch)
treeb194ae1e359023ee669c447259c60d8af94e7816
parent12e4c4405c22093a220882d06872989e2eeb36d3 (diff)
downloaduhd-6466ae1d3eedec66c8eb1014ceb3ca48d25e72d5.tar.gz
uhd-6466ae1d3eedec66c8eb1014ceb3ca48d25e72d5.tar.bz2
uhd-6466ae1d3eedec66c8eb1014ceb3ca48d25e72d5.zip
mpm: Add __mpm_device__ as usrp_hwd module variable
-rw-r--r--mpm/python/usrp_mpm/__init__.py1
-rw-r--r--mpm/python/usrp_mpm/periph_manager/__init__.py.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/__init__.py b/mpm/python/usrp_mpm/__init__.py
index 6b6b86d08..a8efbd498 100644
--- a/mpm/python/usrp_mpm/__init__.py
+++ b/mpm/python/usrp_mpm/__init__.py
@@ -21,3 +21,4 @@ from .mpmlog import get_main_logger
__version__ = periph_manager.__version__
__githash__ = periph_manager.__githash__
+__mpm_device__ = periph_manager.__mpm_device__
diff --git a/mpm/python/usrp_mpm/periph_manager/__init__.py.in b/mpm/python/usrp_mpm/periph_manager/__init__.py.in
index 1a84ca3a4..88ed6b903 100644
--- a/mpm/python/usrp_mpm/periph_manager/__init__.py.in
+++ b/mpm/python/usrp_mpm/periph_manager/__init__.py.in
@@ -9,6 +9,7 @@ periph_manager __init__.py
__version__ = "${MPM_VERSION_MAJOR}.${MPM_VERSION_API}.${MPM_VERSION_ABI}.${MPM_VERSION_PATCH}"
__githash__ = "${MPM_GIT_HASH_RAW}"
+__mpm_device__ = "${MPM_DEVICE}"
from .base import PeriphManagerBase