Add support for IOT-BUS JTAG debugging tool
This commit is contained in:
+5
-8
@@ -22,8 +22,8 @@ class Espressif32Platform(PlatformBase):
|
||||
self.packages['tool-mkspiffs']['optional'] = False
|
||||
if variables.get("upload_protocol"):
|
||||
self.packages['tool-openocd-esp32']['optional'] = False
|
||||
return PlatformBase.configure_default_packages(
|
||||
self, variables, targets)
|
||||
return PlatformBase.configure_default_packages(self, variables,
|
||||
targets)
|
||||
|
||||
def get_boards(self, id_=None):
|
||||
result = PlatformBase.get_boards(self, id_)
|
||||
@@ -44,14 +44,11 @@ class Espressif32Platform(PlatformBase):
|
||||
if "tools" not in debug:
|
||||
debug['tools'] = {}
|
||||
|
||||
available_tools = [
|
||||
"esp-prog", "ftdi", "jlink", "minimodule", "olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h", "olimex-arm-usb-ocd", "olimex-jtag-tiny"
|
||||
]
|
||||
non_debug_protocols = ["esptool"]
|
||||
|
||||
# Only FTDI based debug probes
|
||||
for link in available_tools:
|
||||
if link not in upload_protocols or link in debug['tools']:
|
||||
for link in upload_protocols:
|
||||
if link in non_debug_protocols or link in debug['tools']:
|
||||
continue
|
||||
|
||||
if link == "jlink":
|
||||
|
||||
Reference in New Issue
Block a user