From a669652854e8978ee8c7fbc6b49183183455c7f0 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 30 Jan 2018 03:12:06 +0000 Subject: [PATCH] artiq_flash: tell openocd to not listen on any network ports. --- artiq/frontend/artiq_flash.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 0da7fb945..eff7c8aa5 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -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 = []