From 3e4c361d143d563a26c15f6ca2c6a0640a0ffb0a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 1 Aug 2018 20:25:36 +0300 Subject: [PATCH] Make generic FTDI debug tool --- boards/esp-wrover-kit.json | 6 +++--- platform.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/esp-wrover-kit.json b/boards/esp-wrover-kit.json index 258aff1..6c44368 100644 --- a/boards/esp-wrover-kit.json +++ b/boards/esp-wrover-kit.json @@ -23,10 +23,10 @@ ], "debug": { "default_tools": [ - "ft2232h" + "ftdi" ], "onboard_tools": [ - "ft2232h" + "ftdi" ], "openocd_board": "esp32-wrover.cfg" }, @@ -42,7 +42,7 @@ "protocol": "esptool", "protocols": [ "esptool", - "ft2232h", + "ftdi", "olimex-arm-usb-tiny-h", "olimex-arm-usb-ocd-h", "olimex-arm-usb-ocd", diff --git a/platform.py b/platform.py index 1df8e76..4c65a1f 100644 --- a/platform.py +++ b/platform.py @@ -44,7 +44,7 @@ class Espressif32Platform(PlatformBase): if "tools" not in debug: debug['tools'] = {} - available_tools = ("ft2232h", "minimodule", "olimex-arm-usb-tiny-h", + available_tools = ("ftdi", "minimodule", "olimex-arm-usb-tiny-h", "olimex-arm-usb-ocd-h", "olimex-arm-usb-ocd", "olimex-jtag-tiny")