From 3d81c9a4379efb1fac654caf42f8d990fb3427f4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 22 Jun 2021 11:58:20 +0200 Subject: [PATCH] build/lattice/LatticeProgrammer: pgrcmd always seems to return a non-zero value so disable check. --- litex/build/lattice/programmer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/programmer.py b/litex/build/lattice/programmer.py index c5afd1694..dd0202c25 100644 --- a/litex/build/lattice/programmer.py +++ b/litex/build/lattice/programmer.py @@ -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 --------------------------------------------------------------------------------