tcl/board: add ESP32 config for ESP USB Bridge board
authorErhan Kurubas <erhan.kurubas@espressif.com>
Sun, 3 Jul 2022 09:24:24 +0000 (12:24 +0300)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 13 Sep 2022 22:09:27 +0000 (22:09 +0000)
Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: Ie1a56a398052f6f0e0eb2fe96777effeb59918f6
Reviewed-on: https://review.openocd.org/c/openocd/+/7076
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/board/esp32-bridge.cfg [new file with mode: 0644]

diff --git a/tcl/board/esp32-bridge.cfg b/tcl/board/esp32-bridge.cfg
new file mode 100644 (file)
index 0000000..17146e5
--- /dev/null
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Example OpenOCD configuration file for ESP32 connected via ESP USB Bridge board
+#
+# For example, OpenOCD can be started for ESP32 debugging on
+#
+#   openocd -f board/esp32-bridge.cfg
+#
+
+# Source the JTAG interface configuration file
+source [find interface/esp_usb_bridge.cfg]
+# ESP32 chip id defined in the idf esp_chip_model_t
+espusbjtag chip_id 1
+# Source the ESP32 configuration file
+source [find target/esp32.cfg]