forked from M-Labs/artiq
1
0
Fork 0

artiq_flash: tell openocd to not listen on any network ports.

This commit is contained in:
whitequark 2018-01-30 03:12:06 +00:00
parent 0edc34a9e5
commit a669652854
1 changed files with 5 additions and 1 deletions

View File

@ -103,7 +103,11 @@ class Programmer:
def __init__(self, client, preinit_script):
self._client = client
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._script = []