Enable debugging with BMP
This commit is contained in:
parent
46ae0c828b
commit
47763a9948
@ -89,8 +89,12 @@ class RaspberrypiPlatform(PlatformBase):
|
|||||||
for link in ("blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe"):
|
for link in ("blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe"):
|
||||||
if link not in upload_protocols or link in debug["tools"]:
|
if link not in upload_protocols or link in debug["tools"]:
|
||||||
continue
|
continue
|
||||||
|
if link == "blackmagic":
|
||||||
if link == "jlink":
|
debug["tools"]["blackmagic"] = {
|
||||||
|
"hwids": [["0x1d50", "0x6018"]],
|
||||||
|
"require_debug_port": True
|
||||||
|
}
|
||||||
|
elif link == "jlink":
|
||||||
assert debug.get("jlink_device"), (
|
assert debug.get("jlink_device"), (
|
||||||
"Missed J-Link Device ID for %s" % board.id)
|
"Missed J-Link Device ID for %s" % board.id)
|
||||||
debug["tools"][link] = {
|
debug["tools"][link] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user