target: add Espressif ESP32 basic support
[fw/openocd] / tcl / board / esp32-ethernet-kit-3.3v.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 #
3 # Example OpenOCD configuration file for ESP32-ETHERNET-KIT board.
4 #
5 # For example, OpenOCD can be started for ESP32 debugging on
6 #
7 #   openocd -f board/esp32-ethernet-kit-3.3v.cfg
8 #
9
10 # Source the JTAG interface configuration file
11 source [find interface/ftdi/esp32_devkitj_v1.cfg]
12 set ESP32_FLASH_VOLTAGE 3.3
13 # Source the ESP32 configuration file
14 source [find target/esp32.cfg]
15
16 # The speed of the JTAG interface, in kHz. If you get DSR/DIR errors (and they
17 # do not relate to OpenOCD trying to read from a memory range without physical
18 # memory being present there), you can try lowering this.
19 #
20 # On DevKit-J, this can go as high as 20MHz if CPU frequency is 80MHz, or 26MHz
21 # if CPU frequency is 160MHz or 240MHz.
22 adapter speed 20000