aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorErhan Kurubas <erhan.kurubas@espressif.com>2022-07-03 12:28:12 +0300
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-13 22:09:53 +0000
commit97f47e8c9486377affac7af3c3d260613c6d06f2 (patch)
tree1131e11f7400bffd157f4da6786524e8546d3dbc /tcl
parent35b20195b86ceeda1300e0cc405cbbcbefc1f0fd (diff)
downloadriscv-openocd-97f47e8c9486377affac7af3c3d260613c6d06f2.zip
riscv-openocd-97f47e8c9486377affac7af3c3d260613c6d06f2.tar.gz
riscv-openocd-97f47e8c9486377affac7af3c3d260613c6d06f2.tar.bz2
tcl/board: add ESP32-S3 config for ESP USB Bridge board
Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I97d0f01f342dddb31b2d454858fe854f002cf567 Reviewed-on: https://review.openocd.org/c/openocd/+/7077 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/esp32s3-bridge.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/tcl/board/esp32s3-bridge.cfg b/tcl/board/esp32s3-bridge.cfg
new file mode 100644
index 0000000..a42e257
--- /dev/null
+++ b/tcl/board/esp32s3-bridge.cfg
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Example OpenOCD configuration file for ESP32-S3 connected via ESP USB Bridge board
+#
+# For example, OpenOCD can be started for ESP32-S3 debugging on
+#
+# openocd -f board/esp32s3-bridge.cfg
+#
+
+# Source the JTAG interface configuration file
+source [find interface/esp_usb_bridge.cfg]
+# ESP32S3 chip id defined in the idf esp_chip_model_t
+espusbjtag chip_id 9
+# Source the ESP32-S3 configuration file
+source [find target/esp32s3.cfg]