Use piped openOCD for RISC-V

This commit is contained in:
Ivan Kravets
2019-06-27 15:06:12 +03:00
parent e27b40390d
commit c89793eab9

View File

@ -59,9 +59,9 @@ class DebugServer(BaseProcess):
self._debug_port = ":3333"
openocd_pipe_allowed = all([
not self.debug_options['port'], "openocd" in server_executable,
self.env_options['platform'] != "riscv"
])
not self.debug_options['port'],
"openocd" in server_executable
]) # yapf: disable
if openocd_pipe_allowed:
args = []
if server['cwd']: