esp32.cfg 710 B

1234567891011121314151617181920212223242526272829303132333435
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. #
  3. # Source the ESP common configuration file.
  4. source [find target/esp_common.cfg]
  5. # Target specific global variables
  6. set _CHIPNAME "esp32"
  7. set _CPUTAPID 0x120034e5
  8. set _ESP_ARCH "xtensa"
  9. set _ONLYCPU 3
  10. set _FLASH_VOLTAGE 3.3
  11. set _ESP_SMP_TARGET 1
  12. set _ESP_SMP_BREAK 1
  13. set _ESP_EFUSE_MAC_ADDR_REG 0x3ff5A004
  14. if { [info exists ESP32_ONLYCPU] } {
  15. set _ONLYCPU $ESP32_ONLYCPU
  16. }
  17. if { [info exists ESP32_FLASH_VOLTAGE] } {
  18. set _FLASH_VOLTAGE $ESP32_FLASH_VOLTAGE
  19. }
  20. proc esp32_memprot_is_enabled { } {
  21. return 0
  22. }
  23. proc esp32_soc_reset { } {
  24. soft_reset_halt
  25. }
  26. create_esp_target $_ESP_ARCH
  27. source [find target/xtensa-core-esp32.cfg]