mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
esp32s3: select esp32s3 beta version in menuconfig
This commit is contained in:
parent
9fa06719fa
commit
0bb21281ca
13
Kconfig
13
Kconfig
@ -34,6 +34,19 @@ mainmenu "Espressif IoT Development Framework Configuration"
|
|||||||
bool
|
bool
|
||||||
default "y" if IDF_TARGET="esp32s3"
|
default "y" if IDF_TARGET="esp32s3"
|
||||||
|
|
||||||
|
choice IDF_TARGET_ESP32S3_BETA_VERSION
|
||||||
|
prompt "ESP32-S3 beta version"
|
||||||
|
depends on IDF_TARGET_ESP32S3
|
||||||
|
default IDF_TARGET_ESP32S3_BETA_VERSION_2
|
||||||
|
help
|
||||||
|
Currently ESP32-S3 has several beta versions for internal use only.
|
||||||
|
Select the one that matches your chip model.
|
||||||
|
|
||||||
|
config IDF_TARGET_ESP32S3_BETA_VERSION_2
|
||||||
|
bool
|
||||||
|
prompt "ESP32-S3 beta2"
|
||||||
|
endchoice
|
||||||
|
|
||||||
config IDF_FIRMWARE_CHIP_ID
|
config IDF_FIRMWARE_CHIP_ID
|
||||||
hex
|
hex
|
||||||
default 0x0000 if IDF_TARGET_ESP32
|
default 0x0000 if IDF_TARGET_ESP32
|
||||||
|
@ -57,7 +57,7 @@ menu "Serial flasher config"
|
|||||||
config ESPTOOLPY_WITH_STUB
|
config ESPTOOLPY_WITH_STUB
|
||||||
# Only real reason to disable this is when ESP32-S2 Secure Download Mode is set
|
# Only real reason to disable this is when ESP32-S2 Secure Download Mode is set
|
||||||
bool
|
bool
|
||||||
default "y" if !IDF_TARGET_ESP32S3
|
default "y"
|
||||||
depends on !SECURE_ENABLE_SECURE_ROM_DL_MODE
|
depends on !SECURE_ENABLE_SECURE_ROM_DL_MODE
|
||||||
|
|
||||||
choice ESPTOOLPY_FLASHMODE
|
choice ESPTOOLPY_FLASHMODE
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 09549c03111a2b330371d361d56227a457af66c5
|
Subproject commit 0f064e1d6c5640785a602de564b21040dcc32926
|
@ -4,7 +4,14 @@
|
|||||||
idf_build_get_property(target IDF_TARGET)
|
idf_build_get_property(target IDF_TARGET)
|
||||||
idf_build_get_property(python PYTHON)
|
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(ESPSECUREPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espsecure.py")
|
||||||
set(ESPEFUSEPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espefuse.py")
|
set(ESPEFUSEPY ${python} "${CMAKE_CURRENT_LIST_DIR}/esptool/espefuse.py")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user