aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/__init__.py.in
blob: c2134d0929a21c7d3e154954b94b0173725560d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright 2017 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
"""
MPM Module
"""

__simulated__ = ("${MPM_DEVICE}" == "sim")

from .discovery import spawn_discovery_process
from .rpc_server import spawn_rpc_process
from . import mpmtypes
from . import gpsd_iface
from .mpmlog import get_main_logger

if not __simulated__:
    from . import libpyusrp_periphs as lib
    from . import periph_manager
    from . import dboard_manager
    from . import xports
    from . import cores
    from . import chips
else:
    from . import periph_manager

__version__ = periph_manager.__version__
__githash__ = periph_manager.__githash__
__mpm_device__ = periph_manager.__mpm_device__