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
9 set _CPUTAPID 0x120034e5
10 set _ESP_ARCH "xtensa"
12 set _FLASH_VOLTAGE 3.3
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 { } {
29 proc esp32_soc_reset { } {
33 create_esp_target $_ESP_ARCH
35 source [find target/xtensa-core-esp32.cfg]