mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
tools: Rename the flash size detection kconfig option
9c46c98b4c
have changed the default value
of ESPTOOLPY_FLASHSIZE_DETECT. As the side effect, existing
projects (having the option still enabled) started to discard the SHA256 digest.
Rename the ESPTOOLPY_FLASHSIZE_DETECT option so existing projects would
have the value disabled by default.
Closes https://github.com/espressif/esp-idf/issues/9148
This commit is contained in:
@@ -155,7 +155,7 @@ menu "Serial flasher config"
|
||||
default "64MB" if ESPTOOLPY_FLASHSIZE_64MB
|
||||
default "128MB" if ESPTOOLPY_FLASHSIZE_128MB
|
||||
|
||||
config ESPTOOLPY_FLASHSIZE_DETECT
|
||||
config ESPTOOLPY_HEADER_FLASHSIZE_UPDATE
|
||||
bool "Detect flash size when flashing bootloader"
|
||||
default n
|
||||
help
|
||||
|
@@ -63,7 +63,7 @@ if(min_rev)
|
||||
unset(min_rev)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ESPTOOLPY_FLASHSIZE_DETECT)
|
||||
if(CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE)
|
||||
# Set ESPFLASHSIZE to 'detect' *after* esptool_elf2image_args are generated,
|
||||
# as elf2image can't have 'detect' as an option...
|
||||
set(ESPFLASHSIZE detect)
|
||||
|
Reference in New Issue
Block a user