mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
esp32h4: removed esp32h4 related codes
This commit is contained in:

committed by
Kevin (Lao Kaiyao)

parent
b16ed57b2e
commit
bf2a7b2df6
@@ -91,7 +91,6 @@ menu "Serial flasher config"
|
||||
default ESPTOOLPY_FLASHFREQ_40M if IDF_TARGET_ESP32
|
||||
default ESPTOOLPY_FLASHFREQ_80M if ESPTOOLPY_FLASHFREQ_80M_DEFAULT
|
||||
default ESPTOOLPY_FLASHFREQ_60M if IDF_TARGET_ESP32C2
|
||||
default ESPTOOLPY_FLASHFREQ_48M if IDF_TARGET_ESP32H4
|
||||
config ESPTOOLPY_FLASHFREQ_120M
|
||||
bool "120 MHz"
|
||||
select SPI_FLASH_HPM_ENABLE
|
||||
|
@@ -6,14 +6,6 @@ idf_build_get_property(python PYTHON)
|
||||
idf_build_get_property(idf_path IDF_PATH)
|
||||
|
||||
set(chip_model ${target})
|
||||
# TODO: remove this if block when esp32h4 beta1 is no longer supported and we have h4 target in esptool
|
||||
if(target STREQUAL "esp32h4")
|
||||
if(CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_1)
|
||||
set(chip_model esp32h2beta1)
|
||||
elseif(CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_2)
|
||||
set(chip_model esp32h2beta2)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(ESPTOOLPY ${python} "$ENV{ESPTOOL_WRAPPER}" "${CMAKE_CURRENT_LIST_DIR}/esptool/esptool.py" --chip ${chip_model})
|
||||
set(ESPSECUREPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espsecure.py")
|
||||
|
Reference in New Issue
Block a user