From 41d3051984142c5eb0bf2a0e1b6a64510faa56f8 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 26 Oct 2018 01:43:59 +0300 Subject: [PATCH] Update default debug tools --- boards/esp-wrover-kit.json | 4 +--- boards/iotbusio.json | 3 ++- boards/iotbusproteus.json | 3 ++- platform.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/esp-wrover-kit.json b/boards/esp-wrover-kit.json index 7b1a0b9..0837326 100644 --- a/boards/esp-wrover-kit.json +++ b/boards/esp-wrover-kit.json @@ -22,9 +22,7 @@ "can" ], "debug": { - "default_tools": [ - "ftdi" - ], + "default_tool": "ftdi", "onboard_tools": [ "ftdi" ], diff --git a/boards/iotbusio.json b/boards/iotbusio.json index 0190fb6..02030c8 100644 --- a/boards/iotbusio.json +++ b/boards/iotbusio.json @@ -16,7 +16,8 @@ "can" ], "debug": { - "openocd_board": "esp-wroom-32.cfg" + "openocd_board": "esp-wroom-32.cfg", + "default_tool": "iot-bus-jtag" }, "frameworks": [ "arduino", diff --git a/boards/iotbusproteus.json b/boards/iotbusproteus.json index f79f954..ee5fbaa 100644 --- a/boards/iotbusproteus.json +++ b/boards/iotbusproteus.json @@ -16,7 +16,8 @@ "can" ], "debug": { - "openocd_board": "esp-wroom-32.cfg" + "openocd_board": "esp-wroom-32.cfg", + "default_tool": "iot-bus-jtag" }, "frameworks": [ "arduino", diff --git a/platform.py b/platform.py index dc2baf8..61f023e 100644 --- a/platform.py +++ b/platform.py @@ -85,7 +85,7 @@ class Espressif32Platform(PlatformBase): "pio_reset_halt_target" ], "onboard": link in debug.get("onboard_tools", []), - "default": link in debug.get("default_tools", []) + "default": link == debug.get("default_tool") }