forked from M-Labs/artiq
coredevice: compare software and gateware versions strictly
This commit is contained in:
parent
076e4119f7
commit
ebb4660207
|
@ -284,9 +284,7 @@ class CommKernel:
|
||||||
.format(runtime_id))
|
.format(runtime_id))
|
||||||
|
|
||||||
gateware_version = self._read_string()
|
gateware_version = self._read_string()
|
||||||
gateware_release = gateware_version.split("+")[0]
|
if gateware_version != software_version:
|
||||||
software_release = software_version.split("+")[0]
|
|
||||||
if gateware_release != software_release:
|
|
||||||
logger.warning("Mismatch between gateware (%s) "
|
logger.warning("Mismatch between gateware (%s) "
|
||||||
"and software (%s) versions",
|
"and software (%s) versions",
|
||||||
gateware_version, software_version)
|
gateware_version, software_version)
|
||||||
|
|
Loading…
Reference in New Issue