Skip to content

Commit

Permalink
build/efinix/programmer: Define EFXDBG_HOME now required by latest Ef…
Browse files Browse the repository at this point in the history
…inity versions.
  • Loading branch information
enjoy-digital committed Jan 30, 2024
1 parent 245bed7 commit 488247e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion litex/build/efinix/programmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def __init__(self, cable_name=""):
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):
Expand Down

0 comments on commit 488247e

Please sign in to comment.