aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-05-25 10:50:37 -0700
committerMartin Braun <martin.braun@ettus.com>2018-06-06 08:19:48 -0700
commitcc6121e0ac40a45a6c8d34147cda07b652648705 (patch)
treeafa4d2efbaf9f7b9b0b6ed7292dd643de262846e
parent8969d2193bd6f9fbac166509f1d08c404d5951ff (diff)
downloaduhd-cc6121e0ac40a45a6c8d34147cda07b652648705.tar.gz
uhd-cc6121e0ac40a45a6c8d34147cda07b652648705.tar.bz2
uhd-cc6121e0ac40a45a6c8d34147cda07b652648705.zip
mpm: Adding FPGA type to device info
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n3xx.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py
index cce8494de..37810c54f 100644
--- a/mpm/python/usrp_mpm/periph_manager/n3xx.py
+++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py
@@ -451,7 +451,8 @@ class n3xx(PeriphManagerBase):
device_info = self._xport_mgrs['udp'].get_xport_info()
device_info.update({
'fpga_version': "{}.{}".format(
- *self.mboard_regs_control.get_compat_number())
+ *self.mboard_regs_control.get_compat_number()),
+ 'fpga': self.updateable_components.get('fpga', {}).get('type', ""),
})
return device_info