Add "minimodule" debug probe
This commit is contained in:
@@ -40,7 +40,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://espressif.com/en/products/hardware/esp-wrover-kit/overview",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://www.olimex.com/Products/IoT/ESP32-EVB/open-source-hardware",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://www.olimex.com/Products/IoT/ESP32-GATEWAY/open-source-hardware",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://en.wikipedia.org/wiki/ESP32",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://www.doit.am/",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://www.sparkfun.com/products/13907",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://esp32.vn/",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://shop.makestro.com/product/espectro32",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://thaieasyelec.com/products/development-boards/espino-wifi-development-board-detail.html",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://www.adafruit.com/product/3405",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://dfrobotblog.wordpress.com",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://hackaday.io/project/18997-hornbill",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://hackaday.io/project/18997-hornbill",
|
||||
|
||||
+2
-1
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://wemos.cc",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://forum.mhetlive.com",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://forum.mhetlive.com",
|
||||
|
||||
+2
-1
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://www.ayarafun.com",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://www.nodemcu.com/",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "http://dong-sen.com",
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h"
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"minimodule"
|
||||
]
|
||||
},
|
||||
"url": "https://www.wemos.cc",
|
||||
|
||||
+8
-2
@@ -42,14 +42,20 @@ class Espressif32Platform(PlatformBase):
|
||||
if "tools" not in debug:
|
||||
debug['tools'] = {}
|
||||
|
||||
available_tools = (
|
||||
"olimex-arm-usb-ocd-h", "olimex-arm-usb-tiny-h", "minimodule"
|
||||
)
|
||||
|
||||
# Only FTDI based debug probes
|
||||
for link in ("olimex-arm-usb-tiny-h", "olimex-arm-usb-ocd-h"):
|
||||
for link in available_tools:
|
||||
if link not in upload_protocols or link in debug['tools']:
|
||||
continue
|
||||
|
||||
ftdi_interface = "mbftdi" if link == "minimodule" else link
|
||||
|
||||
server_args = [
|
||||
"-s", "$PACKAGE_DIR/share/openocd/scripts",
|
||||
"-f", "share/openocd/scripts/interface/ftdi/%s.cfg" % link,
|
||||
"-f", "share/openocd/scripts/interface/ftdi/%s.cfg" % ftdi_interface,
|
||||
"-f", "share/openocd/scripts/board/%s" % debug.get("openocd_board")
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user