Skip to content

Commit c3e4ac9

Browse files
committed
Disable "ft2232" debug tool, duplicate of sipeed-rv-debugger, the same configuration
1 parent 64a64ba commit c3e4ac9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ def _add_dynamic_options(self, board):
1919
board.manifest['upload']['protocols'] = ["serial"]
2020
if not board.get("upload.protocol", ""):
2121
board.manifest['upload']['protocol'] = "serial"
22-
22+
2323
# debug tools
2424
debug = board.manifest.get("debug", {})
2525
non_debug_protocols = ["serial"]
2626
supported_debug_tools = [
2727
"jlink",
2828
"gd-link",
29-
"ft2232",
29+
# "ft2232", # duplicate of sipeed-rv-debugger
3030
"sipeed-rv-debugger",
3131
"altera-usb-blaster",
3232
"um232h"
@@ -42,7 +42,7 @@ def _add_dynamic_options(self, board):
4242

4343
if "tools" not in debug:
4444
debug['tools'] = {}
45-
45+
4646
# Only FTDI based debug probes
4747
for link in upload_protocols:
4848
if link in non_debug_protocols or link in debug['tools']:

0 commit comments

Comments
 (0)