build/lattice/LatticeProgrammer: pgrcmd always seems to return a non-zero value so disable check.

This commit is contained in:
Florent Kermarrec 2021-06-22 11:58:20 +02:00
parent f381cdcd1a
commit 3d81c9a437
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class LatticeProgrammer(GenericProgrammer):
xcf_file = bitstream_file.replace(".bit", ".xcf")
xcf_content = self.xcf_template.format(bitstream_file=bitstream_file)
tools.write_to_file(xcf_file, xcf_content)
self.call(["pgrcmd", "-infile", xcf_file])
self.call(["pgrcmd", "-infile", xcf_file], check=False)
# OpenOCDJTAGProgrammer --------------------------------------------------------------------------------