mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-03 19:41:55 +02:00
update esp32h2beta2 chip_id to 14
This commit is contained in:
@@ -2,7 +2,7 @@ menu "Serial flasher config"
|
||||
|
||||
config ESPTOOLPY_NO_STUB
|
||||
bool "Disable download stub"
|
||||
default "y" if IDF_TARGET="esp32h2"
|
||||
default "y" if IDF_TARGET_ESP32H2 && IDF_ENV_FPGA # TODO: IDF-4288
|
||||
default "n"
|
||||
|
||||
help
|
||||
|
||||
Submodule components/esptool_py/esptool updated: 2b3221f9f2...8227361c9c
@@ -6,6 +6,14 @@ idf_build_get_property(python PYTHON)
|
||||
idf_build_get_property(idf_path IDF_PATH)
|
||||
|
||||
set(chip_model ${target})
|
||||
# TODO: remove this if block when esp32h2 beta1 is no longer supported
|
||||
if(target STREQUAL "esp32h2")
|
||||
if(CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_1)
|
||||
set(chip_model esp32h2beta1)
|
||||
elseif(CONFIG_IDF_TARGET_ESP32H2_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