mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
artiq_flash: fix a refactoring bug.
This commit is contained in:
parent
37fa3b29da
commit
83278a6edb
@ -162,7 +162,7 @@ class ProgrammerSayma(Programmer):
|
||||
sector_size = 0x10000
|
||||
|
||||
def __init__(self, client, preinit_script):
|
||||
Programmer.__init__(self, client, preinit_script)
|
||||
Programmer.__init__(self, client, [])
|
||||
|
||||
self._preinit_script += [
|
||||
"interface ftdi",
|
||||
@ -177,6 +177,8 @@ class ProgrammerSayma(Programmer):
|
||||
"adapter_khz 5000",
|
||||
"transport select jtag",
|
||||
|
||||
*preinit_script,
|
||||
|
||||
# tap 0, pld 0
|
||||
"source {}".format(self._transfer_script("cpld/xilinx-xc7.cfg")),
|
||||
# tap 1, pld 1
|
||||
|
Loading…
Reference in New Issue
Block a user