From 488247e4f7bbbe17b01cc1f9bc4e5772586b85e8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 30 Jan 2024 09:44:52 +0100 Subject: [PATCH] build/efinix/programmer: Define EFXDBG_HOME now required by latest Efinity versions. --- litex/build/efinix/programmer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/build/efinix/programmer.py b/litex/build/efinix/programmer.py index 1b91863b4..1c42a0c9f 100644 --- a/litex/build/efinix/programmer.py +++ b/litex/build/efinix/programmer.py @@ -28,7 +28,8 @@ class EfinixProgrammer(GenericProgrammer): os.environ["EFINITY_HOME"] = self.efinity_path def load_bitstream(self, bitstream_file, cable_suffix=""): - os.environ['EFXPGM_HOME'] = self.efinity_path + '/pgm' + os.environ['EFXPGM_HOME'] = self.efinity_path + "/pgm" + os.environ["EFXDBG_HOME"] = self.efinity_path + "/debugger" if (subprocess.call([self.efinity_path + '/bin/python3', self.efinity_path + '/pgm/bin/efx_pgm/ftdi_program.py', bitstream_file, "-m", "jtag"], env=os.environ.copy()) != 0):