mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
esp32s3: select esp32s3 beta version in menuconfig
This commit is contained in:
@@ -57,7 +57,7 @@ menu "Serial flasher config"
|
||||
config ESPTOOLPY_WITH_STUB
|
||||
# Only real reason to disable this is when ESP32-S2 Secure Download Mode is set
|
||||
bool
|
||||
default "y" if !IDF_TARGET_ESP32S3
|
||||
default "y"
|
||||
depends on !SECURE_ENABLE_SECURE_ROM_DL_MODE
|
||||
|
||||
choice ESPTOOLPY_FLASHMODE
|
||||
|
Submodule components/esptool_py/esptool updated: 09549c0311...0f064e1d6c
@@ -4,7 +4,14 @@
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
idf_build_get_property(python PYTHON)
|
||||
|
||||
set(ESPTOOLPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/esptool.py" --chip ${target})
|
||||
set(chip_model ${target})
|
||||
if(target STREQUAL "esp32s3")
|
||||
if(CONFIG_IDF_TARGET_ESP32S3_BETA_VERSION_2)
|
||||
set(chip_model "esp32s3beta2")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(ESPTOOLPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/esptool.py" --chip ${chip_model})
|
||||
set(ESPSECUREPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espsecure.py")
|
||||
set(ESPEFUSEPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espefuse.py")
|
||||
|
||||
|
Reference in New Issue
Block a user