diff options
author | Andrew Lynch <andrew.lynch@ni.com> | 2021-06-30 15:34:25 -0500 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-07-09 00:34:33 -0700 |
commit | 9d63ff98fb40dd5557072503d34d44672f0c17d9 (patch) | |
tree | d03fddb227bd6b578ffe62ab8a3cc2961581b4d4 /mpm/python | |
parent | 240c7fdd89baeb2db77bc4801af8d6a6b4df716a (diff) | |
download | uhd-9d63ff98fb40dd5557072503d34d44672f0c17d9.tar.gz uhd-9d63ff98fb40dd5557072503d34d44672f0c17d9.tar.bz2 uhd-9d63ff98fb40dd5557072503d34d44672f0c17d9.zip |
mpm: Skip DTS compatibility check if DTS is not being updated.
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/components.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |