target/adi_v5_swd: move setting of do_reconnect one level up
[openocd.git] / tcl / target / esp32.cfg
blobb30a170247f9b97e77f02048026d6d4218117872
1 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Source the ESP common configuration file.
5 source [find target/esp_common.cfg]
7 # Target specific global variables
8 set _CHIPNAME                                   "esp32"
9 set _CPUTAPID                                   0x120034e5
10 set _ESP_ARCH                                   "xtensa"
11 set _ONLYCPU                                    3
12 set _FLASH_VOLTAGE                              3.3
13 set _ESP_SMP_TARGET                             1
14 set _ESP_SMP_BREAK                              1
15 set _ESP_EFUSE_MAC_ADDR_REG     0x3ff5A004
17 if { [info exists ESP32_ONLYCPU] } {
18         set _ONLYCPU $ESP32_ONLYCPU
21 if { [info exists ESP32_FLASH_VOLTAGE] } {
22         set _FLASH_VOLTAGE $ESP32_FLASH_VOLTAGE
25 proc esp32_memprot_is_enabled { } {
26         return 0
29 proc esp32_soc_reset { } {
30         soft_reset_halt
33 create_esp_target $_ESP_ARCH
35 source [find target/xtensa-core-esp32.cfg]