Skip to content

Commit ce4c273

Browse files
committed
Add CMSIS-DAP as available debug probe
Resolve platformio#771
1 parent 6ef0330 commit ce4c273

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def _add_dynamic_options(self, board):
161161
debug = board.manifest.get("debug", {})
162162
non_debug_protocols = ["esptool", "espota", "mbctool"]
163163
supported_debug_tools = [
164+
"cmsis-dap",
164165
"esp-prog",
165166
"iot-bus-jtag",
166167
"jlink",
@@ -190,6 +191,8 @@ def _add_dynamic_options(self, board):
190191

191192
if link == "jlink":
192193
openocd_interface = link
194+
elif link == "cmsis-dap":
195+
openocd_interface = link
193196
elif link in ("esp-prog", "ftdi"):
194197
if board.id == "esp32-s2-kaluga-1":
195198
openocd_interface = "ftdi/esp32s2_kaluga_v1"

0 commit comments

Comments
 (0)