Automatically configure openOCD scripts folder

This commit is contained in:
Ivan Kravets
2019-06-13 20:48:15 +03:00
parent cb35c874e5
commit 0dbb36de4d
2 changed files with 31 additions and 26 deletions
+2 -2
View File
@@ -84,8 +84,8 @@ class Espressif32Platform(PlatformBase):
server_args = [
"-s", "$PACKAGE_DIR/share/openocd/scripts",
"-f", "share/openocd/scripts/interface/%s.cfg" % openocd_interface,
"-f", "share/openocd/scripts/board/%s" % debug.get("openocd_board")
"-f", "interface/%s.cfg" % openocd_interface,
"-f", "board/%s" % debug.get("openocd_board")
]
debug['tools'][link] = {