aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n3xx.py
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2019-05-09 16:35:21 -0700
committermichael-west <michael.west@ettus.com>2019-05-21 21:37:20 -0700
commit75c6f34b0f891476dc317cb37ee79c7ee65a0ca5 (patch)
tree61278b6742c8fdf7396cca2f325fe6a2f39ae28b /mpm/python/usrp_mpm/periph_manager/n3xx.py
parentb14adeaae605cbb1c1af592ae0a7f58e40f28776 (diff)
downloaduhd-75c6f34b0f891476dc317cb37ee79c7ee65a0ca5.tar.gz
uhd-75c6f34b0f891476dc317cb37ee79c7ee65a0ca5.tar.bz2
uhd-75c6f34b0f891476dc317cb37ee79c7ee65a0ca5.zip
mpm: Change SW/HW compat check to use last_rev_compat
Newer revisions of the E320 and N3xx motherboards use EEPROM version 3, and store a rev_compat field. The rev_compat is the last revision that this hardware is compatible with. We now use that instead of simply the revision.
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n3xx.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n3xx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py
index 5856036e3..0a2801f44 100644
--- a/mpm/python/usrp_mpm/periph_manager/n3xx.py
+++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py
@@ -131,7 +131,7 @@ class n3xx(ZynqComponents, PeriphManagerBase):
mboard_eeprom_offset = 0
mboard_eeprom_max_len = 256
mboard_info = {"type": "n3xx"}
- mboard_max_rev = 7 # 7 == RevH
+ mboard_last_rev_compat = 5 # last known compat through dt_compat field
mboard_sensor_callback_map = {
'ref_locked': 'get_ref_lock_sensor',
'gps_locked': 'get_gps_lock_sensor',