aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErhan Kurubas <erhan.kurubas@espressif.com>2023-06-18 13:05:35 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-07-14 16:51:37 +0000
commit2c57d11c78108c6547f31ca07f1ff672fa855f10 (patch)
tree8b64b057b7a12fc054f5c34de262e59e239ca6f6
parent1107af09f1179241224ff0045441caaeeec70b13 (diff)
downloadriscv-openocd-2c57d11c78108c6547f31ca07f1ff672fa855f10.zip
riscv-openocd-2c57d11c78108c6547f31ca07f1ff672fa855f10.tar.gz
riscv-openocd-2c57d11c78108c6547f31ca07f1ff672fa855f10.tar.bz2
tcl/board: add esp32s3-builtin.cfg file
Board config file for ESP32-S3, to allow communication with the builtin USB-JTAG adapter. Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I1310f5db30f7df38fe9344f7ba2334611b53863e Reviewed-on: https://review.openocd.org/c/openocd/+/7749 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
-rw-r--r--tcl/board/esp32s3-builtin.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/tcl/board/esp32s3-builtin.cfg b/tcl/board/esp32s3-builtin.cfg
new file mode 100644
index 0000000..353099c
--- /dev/null
+++ b/tcl/board/esp32s3-builtin.cfg
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Example OpenOCD configuration file for ESP32-S3 connected via builtin USB-JTAG adapter.
+#
+# For example, OpenOCD can be started for ESP32-S3 debugging on
+#
+# openocd -f board/esp32s3-builtin.cfg
+#
+
+# Source the JTAG interface configuration file
+source [find interface/esp_usb_jtag.cfg]
+# Source the ESP32-S3 configuration file
+source [find target/esp32s3.cfg]
+
+adapter speed 40000