build/efinix/programmer: Define EFXDBG_HOME now required by latest Efinity versions.

This commit is contained in:
Florent Kermarrec 2024-01-30 09:44:52 +01:00
parent 245bed7195
commit 488247e4f7
1 changed files with 2 additions and 1 deletions

View File

@ -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):