diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-12-06 11:06:59 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-12-09 13:09:28 -0800 |
commit | 4fd1cb317fbbce6facac1cc1bce65e46aa72dcc2 (patch) | |
tree | 5cdde87903d18df26bfe449f4e3fbc285c76b194 /mpm | |
parent | db5ce31b0e60f4409afba2fa42602a404d8e122f (diff) | |
download | uhd-4fd1cb317fbbce6facac1cc1bce65e46aa72dcc2.tar.gz uhd-4fd1cb317fbbce6facac1cc1bce65e46aa72dcc2.tar.bz2 uhd-4fd1cb317fbbce6facac1cc1bce65e46aa72dcc2.zip |
mpm: x4xx: Add log message for older DIO boards
Older DIO boards don't support all the features of newer ones, but from
the log messages, it's not clear what revision the board has. We add
a log statement to clarify.
Diffstat (limited to 'mpm')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/x4xx_dio_control.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/x4xx_dio_control.py b/mpm/python/usrp_mpm/periph_manager/x4xx_dio_control.py index 08d211bd6..1dd1c8457 100644 --- a/mpm/python/usrp_mpm/periph_manager/x4xx_dio_control.py +++ b/mpm/python/usrp_mpm/periph_manager/x4xx_dio_control.py @@ -229,7 +229,8 @@ class DioControl: self.port_control = {port: self._PortControl(port) for port in self.DIO_PORTS} self.mboard_regs = mboard_regs self.mboard_cpld = mboard_cpld - + if self.mboard_regs.get_compat_number() < self.FULL_DIO_FPGA_COMPAT: + self.log.warning("DIO board does not support the full feature set.") # initialize port mapping for HDMI and DIO self.port_mappings = {} self.mapping = None |