aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/sim.py
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2021-01-13 09:20:03 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2021-01-21 12:47:54 -0600
commit7b436148467559a967abffd7c8c2679c629194de (patch)
tree68059bf52c1754f0041181164e1958df426a2a2f /mpm/python/usrp_mpm/periph_manager/sim.py
parenta2f10eed677861dfdb4a158c456a5e39302fe96e (diff)
downloaduhd-7b436148467559a967abffd7c8c2679c629194de.tar.gz
uhd-7b436148467559a967abffd7c8c2679c629194de.tar.bz2
uhd-7b436148467559a967abffd7c8c2679c629194de.zip
sim: Ignore mender artifact file on sim devices
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/sim.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/sim.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/sim.py b/mpm/python/usrp_mpm/periph_manager/sim.py
index d909bed34..ea29dd139 100644
--- a/mpm/python/usrp_mpm/periph_manager/sim.py
+++ b/mpm/python/usrp_mpm/periph_manager/sim.py
@@ -90,7 +90,8 @@ class sim(PeriphManagerBase):
self.device_id = 1
self.description = self.config.hardware.description
self.mboard_info = {"type": self.config.hardware.uhd_device_type,
- "product": self.config.hardware.product}
+ "product": self.config.hardware.product,
+ "simulated": "True"}
self.pids = {int(self.config.hardware.pid): self.config.hardware.product}
# This uses the description, mboard_info, and pids
super().__init__()