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" self._debug_port = ":3333"
openocd_pipe_allowed = all([ openocd_pipe_allowed = all([
not self.debug_options['port'], "openocd" in server_executable, not self.debug_options['port'],
self.env_options['platform'] != "riscv" "openocd" in server_executable
]) ]) # yapf: disable
if openocd_pipe_allowed: if openocd_pipe_allowed:
args = [] args = []
if server['cwd']: if server['cwd']: