build/lattice/LatticeProgrammer: pgrcmd always seems to return a non-zero value so disable check.
This commit is contained in:
parent
f381cdcd1a
commit
3d81c9a437
|
@ -22,7 +22,7 @@ class LatticeProgrammer(GenericProgrammer):
|
||||||
xcf_file = bitstream_file.replace(".bit", ".xcf")
|
xcf_file = bitstream_file.replace(".bit", ".xcf")
|
||||||
xcf_content = self.xcf_template.format(bitstream_file=bitstream_file)
|
xcf_content = self.xcf_template.format(bitstream_file=bitstream_file)
|
||||||
tools.write_to_file(xcf_file, xcf_content)
|
tools.write_to_file(xcf_file, xcf_content)
|
||||||
self.call(["pgrcmd", "-infile", xcf_file])
|
self.call(["pgrcmd", "-infile", xcf_file], check=False)
|
||||||
|
|
||||||
# OpenOCDJTAGProgrammer --------------------------------------------------------------------------------
|
# OpenOCDJTAGProgrammer --------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue