|
|
@@ -27,7 +27,11 @@ if(NOT BOOTLOADER_BUILD)
|
|
|
set(ESPTOOLPY_BEFORE "${CONFIG_ESPTOOLPY_BEFORE}")
|
|
|
set(ESPTOOLPY_AFTER "${CONFIG_ESPTOOLPY_AFTER}")
|
|
|
set(ESPTOOLPY_CHIP "${target}")
|
|
|
- set(ESPTOOLPY_WITH_STUB TRUE)
|
|
|
+ if(CONFIG_ESPTOOLPY_WITH_STUB)
|
|
|
+ set(ESPTOOLPY_WITH_STUB true)
|
|
|
+ else()
|
|
|
+ set(ESPTOOLPY_WITH_STUB false)
|
|
|
+ endif()
|
|
|
|
|
|
if(CONFIG_SECURE_BOOT OR CONFIG_SECURE_FLASH_ENC_ENABLED)
|
|
|
# If security enabled then override post flash option
|