jtag: add esp_usb_jtag driver

This driver is used with the ESP32 chips which has builtin USB-JTAG
interface. e.g. with ESP32-C3, ESP32-S3

Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: If966268cb8d26f76540dd5440245a17ed0b72c61
Reviewed-on: https://review.openocd.org/c/openocd/+/6943
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Erhan Kurubas
2022-04-21 21:48:28 +02:00
committed by Antonio Borneo
parent c7bdce33e2
commit 3d61a9593e
8 changed files with 893 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Example OpenOCD configuration file for ESP32-S2 connected via ESP USB Bridge board
#
# For example, OpenOCD can be started for ESP32-S2 debugging on
#
# openocd -f board/esp32s2-bridge.cfg
#
# Source the JTAG interface configuration file
source [find interface/esp_usb_bridge.cfg]
# ESP32S2 chip id defined in the idf esp_chip_model_t
espusbjtag chip_id 2
# Source the ESP32-S2 configuration file
source [find target/esp32s2.cfg]