mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-27 02:13:10 +00:00
esp32c3: Add support for building image with a minimum target revision
This commit is contained in:
@@ -39,7 +39,15 @@ if(NOT CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION AND
|
||||
endif()
|
||||
|
||||
if(CONFIG_ESP32_REV_MIN)
|
||||
list(APPEND esptool_elf2image_args --min-rev ${CONFIG_ESP32_REV_MIN})
|
||||
set(min_rev ${CONFIG_ESP32_REV_MIN})
|
||||
endif()
|
||||
if(CONFIG_ESP32C3_REV_MIN)
|
||||
set(min_rev ${CONFIG_ESP32C3_REV_MIN})
|
||||
endif()
|
||||
|
||||
if(min_rev)
|
||||
list(APPEND esptool_elf2image_args --min-rev ${min_rev})
|
||||
unset(min_rev)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ESPTOOLPY_FLASHSIZE_DETECT)
|
||||
|
Reference in New Issue
Block a user