From 9d63ff98fb40dd5557072503d34d44672f0c17d9 Mon Sep 17 00:00:00 2001 From: Andrew Lynch Date: Wed, 30 Jun 2021 15:34:25 -0500 Subject: mpm: Skip DTS compatibility check if DTS is not being updated. --- mpm/python/usrp_mpm/components.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm') diff --git a/mpm/python/usrp_mpm/components.py b/mpm/python/usrp_mpm/components.py index a87dbdce7..b79c1d9cb 100644 --- a/mpm/python/usrp_mpm/components.py +++ b/mpm/python/usrp_mpm/components.py @@ -102,7 +102,8 @@ class ZynqComponents(object): self.log.trace("Compatibility check MPM <-> FPGA via DTS enabled") dtsfilepath = filebasename + '.dts' if not os.path.exists(dtsfilepath): - self._log_and_raise("DTS file not found: {}".format(dtsfilepath)) + self.log.warning("DTS file not found: {}, cannot check version of bitfile without DTS.".format(dtsfilepath)) + return self.log.trace("Parse DTS file {} for version information"\ .format(dtsfilepath)) fpga_versions = self._parse_dts_version_info_from_file(dtsfilepath) -- cgit v1.2.3