forked from auracaster/openocd
Add configuration files for Espressif RISC-V based chips: - ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2 target configs - Board configs for builtin USB-JTAG and FTDI interfaces while adding the new config files: - Fix indentation in existing Espressif config files - Adapt esp_common.cfg with RISC-V support - Add explicit 'transport select jtag' to interface configs to avoid 'DEPRECATED: auto-selecting transport' warning Change-Id: I45fcbca2fe50888750e2e98a0a6773de86aad6d0 Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Reviewed-on: https://review.openocd.org/c/openocd/+/9195 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
32 lines
904 B
INI
32 lines
904 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
||
#
|
||
# Driver for the FT2232H JTAG chip on the Espressif Kaluga-1 ESP32-S2 board
|
||
# (and most other FT2232H and FT232H based boards)
|
||
#
|
||
# JTAG DIP switch (labelled SW5 in the schematic) should be "ON" for lines
|
||
# labelled TCK, TDO, TDI and TWS, to connect the FT2232H to the ESP32-S2.
|
||
#
|
||
|
||
adapter driver ftdi
|
||
ftdi vid_pid 0x0403 0x6010 0x0403 0x6014
|
||
|
||
# interface 1 is the uart
|
||
ftdi channel 0
|
||
|
||
# TCK, TDI, TDO, TMS: ADBUS0-3
|
||
# TRST/SRST: ADBUS5 (unused for now)
|
||
# LEDs: ACBUS3-4 (inverted)
|
||
|
||
ftdi layout_init 0x0008 0x180b
|
||
ftdi layout_signal LED -ndata 0x0800
|
||
ftdi layout_signal LED2 -ndata 0x1000
|
||
|
||
# ESP32* series chips do not have a TRST input, and the SRST line is connected
|
||
# to the EN pin.
|
||
# The target code doesn't handle SRST reset properly yet, so this is
|
||
# commented out:
|
||
# ftdi layout_signal nSRST -oe 0x0020
|
||
# reset_config srst_only
|
||
|
||
transport select jtag
|