build/efinix/programmer: Define EFXDBG_HOME now required by latest Efinity versions.
This commit is contained in:
parent
245bed7195
commit
488247e4f7
|
@ -28,7 +28,8 @@ class EfinixProgrammer(GenericProgrammer):
|
||||||
os.environ["EFINITY_HOME"] = self.efinity_path
|
os.environ["EFINITY_HOME"] = self.efinity_path
|
||||||
|
|
||||||
def load_bitstream(self, bitstream_file, cable_suffix=""):
|
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 +
|
if (subprocess.call([self.efinity_path + '/bin/python3', self.efinity_path +
|
||||||
'/pgm/bin/efx_pgm/ftdi_program.py', bitstream_file,
|
'/pgm/bin/efx_pgm/ftdi_program.py', bitstream_file,
|
||||||
"-m", "jtag"], env=os.environ.copy()) != 0):
|
"-m", "jtag"], env=os.environ.copy()) != 0):
|
||||||
|
|
Loading…
Reference in New Issue