aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n310.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-08-28 16:48:40 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:04:01 -0800
commit688637522a60eda64d17ed293fd36ff73085e3d1 (patch)
tree6e4fb140ea6d928c8d82cbfc368864de8f5553ba /mpm/python/usrp_mpm/periph_manager/n310.py
parentb43ab2705bdd3a26d5bff012cfd54fbf6775ffb9 (diff)
downloaduhd-688637522a60eda64d17ed293fd36ff73085e3d1.tar.gz
uhd-688637522a60eda64d17ed293fd36ff73085e3d1.tar.bz2
uhd-688637522a60eda64d17ed293fd36ff73085e3d1.zip
mpm: Added max rev check overridable
When reading revision numbers from EEPROM, we now have an easy way of checking of our version MPM is sufficient to run on the current device. N310 implicitly makes use of this starting with this commit.
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n310.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py
index a9c8076ca..f855f2f3f 100644
--- a/mpm/python/usrp_mpm/periph_manager/n310.py
+++ b/mpm/python/usrp_mpm/periph_manager/n310.py
@@ -177,6 +177,7 @@ class n310(PeriphManagerBase):
mboard_eeprom_addr = "e0005000.i2c"
mboard_eeprom_max_len = 256
mboard_info = {"type": "n3xx"}
+ mboard_max_rev = 3 # 3 == RevD
dboard_eeprom_addr = "e0004000.i2c"
dboard_eeprom_max_len = 64
# We're on a Zynq target, so the following two come from the Zynq standard