From e70c4347801b0d3090ec376f34f888240e7983bb Mon Sep 17 00:00:00 2001 From: jingli Date: Mon, 17 Jan 2022 16:56:31 +0800 Subject: [PATCH] fix compile error for esp32c2, since esp32c2 no longer support RTC fast mem --- components/bootloader/Kconfig.projbuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/bootloader/Kconfig.projbuild b/components/bootloader/Kconfig.projbuild index 46244b88cf..96dd3f5b92 100644 --- a/components/bootloader/Kconfig.projbuild +++ b/components/bootloader/Kconfig.projbuild @@ -323,7 +323,7 @@ menu "Bootloader config" # options, allowing to turn on "allow insecure options" and have secure boot with # "skip validation when existing deep sleep". Keeping this to avoid a breaking change, # but - as noted in help - it invalidates the integrity of Secure Boot checks - depends on (SECURE_BOOT && SECURE_BOOT_INSECURE) || !SECURE_BOOT + depends on SOC_RTC_FAST_MEM_SUPPORTED && ((SECURE_BOOT && SECURE_BOOT_INSECURE) || !SECURE_BOOT) default n help This option disables the normal validation of an image coming out of @@ -379,6 +379,7 @@ menu "Bootloader config" config BOOTLOADER_RESERVE_RTC_SIZE hex + depends on SOC_RTC_FAST_MEM_SUPPORTED default 0x10 if BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP || BOOTLOADER_CUSTOM_RESERVE_RTC default 0 help @@ -390,6 +391,7 @@ menu "Bootloader config" config BOOTLOADER_CUSTOM_RESERVE_RTC bool "Reserve RTC FAST memory for custom purposes" + depends on SOC_RTC_FAST_MEM_SUPPORTED default n help This option allows the customer to place data in the RTC FAST memory,