diff options
author | Erhan Kurubas <erhan.kurubas@espressif.com> | 2023-07-18 00:57:54 +0200 |
---|---|---|
committer | Erhan Kurubas <erhan.kurubas@espressif.com> | 2023-07-19 00:11:47 +0200 |
commit | 79bcab76a020299bb3ea5c24d650d0d6a960f870 (patch) | |
tree | 42554f58d46ee210ccfd33dc2a06bfcc26b1fe6f /tcl | |
parent | f21bd77dd122b75c056edfc7458f5dfe48fcdf29 (diff) | |
download | riscv-openocd-79bcab76a020299bb3ea5c24d650d0d6a960f870.zip riscv-openocd-79bcab76a020299bb3ea5c24d650d0d6a960f870.tar.gz riscv-openocd-79bcab76a020299bb3ea5c24d650d0d6a960f870.tar.bz2 |
tcl/board: add Espressif board configs with builtin usb jtag
Board config files, to allow communication with
the builtin USB-JTAG adapter.
Change-Id: I80fb0c36b3cc164940ff266f1eaa287d870da94d
Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/board/esp32c3-builtin.cfg | 15 | ||||
-rw-r--r-- | tcl/board/esp32c6-builtin.cfg | 15 | ||||
-rw-r--r-- | tcl/board/esp32h2-builtin.cfg | 15 |
3 files changed, 45 insertions, 0 deletions
diff --git a/tcl/board/esp32c3-builtin.cfg b/tcl/board/esp32c3-builtin.cfg new file mode 100644 index 0000000..9e19b1b --- /dev/null +++ b/tcl/board/esp32c3-builtin.cfg @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Example OpenOCD configuration file for ESP32-C3 connected via builtin USB-JTAG adapter. +# +# For example, OpenOCD can be started for ESP32-C3 debugging on +# +# openocd -f board/esp32c3-builtin.cfg +# + +# Source the JTAG interface configuration file +source [find interface/esp_usb_jtag.cfg] +# Source the ESP32-C3 configuration file +source [find target/esp32c3.cfg] + +adapter speed 40000 diff --git a/tcl/board/esp32c6-builtin.cfg b/tcl/board/esp32c6-builtin.cfg new file mode 100644 index 0000000..abc96b2 --- /dev/null +++ b/tcl/board/esp32c6-builtin.cfg @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Example OpenOCD configuration file for ESP32-C6 connected via builtin USB-JTAG adapter. +# +# For example, OpenOCD can be started for ESP32-C6 debugging on +# +# openocd -f board/esp32c6-builtin.cfg +# + +# Source the JTAG interface configuration file +source [find interface/esp_usb_jtag.cfg] +# Source the ESP32-C6 configuration file +source [find target/esp32c6.cfg] + +adapter speed 40000 diff --git a/tcl/board/esp32h2-builtin.cfg b/tcl/board/esp32h2-builtin.cfg new file mode 100644 index 0000000..1ce5961 --- /dev/null +++ b/tcl/board/esp32h2-builtin.cfg @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Example OpenOCD configuration file for ESP32-C3 connected via builtin USB-JTAG adapter. +# +# For example, OpenOCD can be started for ESP32-C3 debugging on +# +# openocd -f board/esp32c3-builtin.cfg +# + +# Source the JTAG interface configuration file +source [find interface/esp_usb_jtag.cfg] +# Source the ESP32-C3 configuration file +source [find target/esp32h2.cfg] + +adapter speed 40000 |