From c89793eab9ef4e82228819949df355a465c120a7 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 27 Jun 2019 15:06:12 +0300 Subject: [PATCH] Use piped openOCD for RISC-V --- platformio/commands/debug/server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio/commands/debug/server.py b/platformio/commands/debug/server.py index 8719b1f0..33800bd5 100644 --- a/platformio/commands/debug/server.py +++ b/platformio/commands/debug/server.py @@ -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']: