diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-23 15:16:50 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:53 -0800 |
commit | 245b96a777afbeb84990ebb377def658879c2fa1 (patch) | |
tree | 7333a32c4bd9381b76aef28db0245e2d30a30ef7 /mpm/python/usrp_mpm/dboard_manager/base.py | |
parent | e9a1af171eecb333326b3d791fd6516788ec7cac (diff) | |
download | uhd-245b96a777afbeb84990ebb377def658879c2fa1.tar.gz uhd-245b96a777afbeb84990ebb377def658879c2fa1.tar.bz2 uhd-245b96a777afbeb84990ebb377def658879c2fa1.zip |
mpm: Added auto-loading of dboard-specific overlays
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/base.py')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/base.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/base.py b/mpm/python/usrp_mpm/dboard_manager/base.py index c7e116fc0..e16906cb4 100644 --- a/mpm/python/usrp_mpm/dboard_manager/base.py +++ b/mpm/python/usrp_mpm/dboard_manager/base.py @@ -38,6 +38,12 @@ class DboardManagerBase(object): # maps these keys to actual spidev paths. Also throws a warning/error if # the SPI configuration is invalid. spi_chipselect = {} + # Lists device tree overlays that need to be applied before this class can + # be used. List of strings. If strings contain the token {sfp}, it will be + # expanded to the flavour of SFP configuration is (XG, 1G, ...). + # Example: 'magnesium-{sfp}' could get expanded to 'eiscat-XG'. + # Are applied in order. + dt_overlays = [] def __init__(self, slot_idx, **kwargs): self.log = get_logger('dboardManager') |