From 75dc7a1d64efbedeaa527ec923b35a1b99511192 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Thu, 9 May 2019 16:35:21 -0700 Subject: 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. --- mpm/python/usrp_mpm/periph_manager/e320.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/periph_manager/e320.py') diff --git a/mpm/python/usrp_mpm/periph_manager/e320.py b/mpm/python/usrp_mpm/periph_manager/e320.py index 96a184477..3135a6994 100644 --- a/mpm/python/usrp_mpm/periph_manager/e320.py +++ b/mpm/python/usrp_mpm/periph_manager/e320.py @@ -78,7 +78,7 @@ class e320(ZynqComponents, PeriphManagerBase): mboard_info = {"type": "e3xx", "product": "e320" } - mboard_max_rev = 4 # Rev E + mboard_last_rev_compat = 0 mboard_sensor_callback_map = { 'ref_locked': 'get_ref_lock_sensor', 'gps_locked': 'get_gps_lock_sensor', -- cgit v1.2.3