From ce4c273ed2acb31dab9d0ee1727bb00170d91e5d Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Mon, 25 Apr 2022 13:36:01 +0300 Subject: [PATCH] Add CMSIS-DAP as available debug probe Resolve #771 --- platform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform.py b/platform.py index c23f181..a3b3bc7 100644 --- a/platform.py +++ b/platform.py @@ -161,6 +161,7 @@ class Espressif32Platform(PlatformBase): debug = board.manifest.get("debug", {}) non_debug_protocols = ["esptool", "espota", "mbctool"] supported_debug_tools = [ + "cmsis-dap", "esp-prog", "iot-bus-jtag", "jlink", @@ -190,6 +191,8 @@ class Espressif32Platform(PlatformBase): if link == "jlink": openocd_interface = link + elif link == "cmsis-dap": + openocd_interface = link elif link in ("esp-prog", "ftdi"): if board.id == "esp32-s2-kaluga-1": openocd_interface = "ftdi/esp32s2_kaluga_v1"