forked from M-Labs/artiq
artiq_flash: tell openocd to not listen on any network ports.
This commit is contained in:
parent
0edc34a9e5
commit
a669652854
|
@ -103,7 +103,11 @@ class Programmer:
|
||||||
def __init__(self, client, preinit_script):
|
def __init__(self, client, preinit_script):
|
||||||
self._client = client
|
self._client = client
|
||||||
self._board_script = []
|
self._board_script = []
|
||||||
self._preinit_script = preinit_script
|
self._preinit_script = [
|
||||||
|
"gdb_port disabled",
|
||||||
|
"tcl_port disabled",
|
||||||
|
"telnet_port disabled"
|
||||||
|
] + preinit_script
|
||||||
self._loaded = defaultdict(lambda: None)
|
self._loaded = defaultdict(lambda: None)
|
||||||
self._script = []
|
self._script = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue