Skip to content

Commit

Permalink
Disable "ft2232" debug tool, duplicate of sipeed-rv-debugger, the sam…
Browse files Browse the repository at this point in the history
…e configuration
  • Loading branch information
ivankravets committed Sep 13, 2019
1 parent 64a64ba commit c3e4ac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ def _add_dynamic_options(self, board):
board.manifest['upload']['protocols'] = ["serial"]
if not board.get("upload.protocol", ""):
board.manifest['upload']['protocol'] = "serial"

# debug tools
debug = board.manifest.get("debug", {})
non_debug_protocols = ["serial"]
supported_debug_tools = [
"jlink",
"gd-link",
"ft2232",
# "ft2232", # duplicate of sipeed-rv-debugger
"sipeed-rv-debugger",
"altera-usb-blaster",
"um232h"
Expand All @@ -42,7 +42,7 @@ def _add_dynamic_options(self, board):

if "tools" not in debug:
debug['tools'] = {}

# Only FTDI based debug probes
for link in upload_protocols:
if link in non_debug_protocols or link in debug['tools']:
Expand Down

0 comments on commit c3e4ac9

Please sign in to comment.