diff --git a/platform.py b/platform.py index 608fe06..642ef77 100644 --- a/platform.py +++ b/platform.py @@ -89,8 +89,12 @@ class RaspberrypiPlatform(PlatformBase): for link in ("blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe"): if link not in upload_protocols or link in debug["tools"]: continue - - if link == "jlink": + if link == "blackmagic": + debug["tools"]["blackmagic"] = { + "hwids": [["0x1d50", "0x6018"]], + "require_debug_port": True + } + elif link == "jlink": assert debug.get("jlink_device"), ( "Missed J-Link Device ID for %s" % board.id) debug["tools"][link] = {