From 0fbbcd7271addfaa8b126e79e962497c647c6dda Mon Sep 17 00:00:00 2001 From: Chen Chen Date: Tue, 14 Jul 2026 15:35:04 +0800 Subject: [PATCH] fix: update flash encryption mock build check Use a non-deprecated bootloader support API in the mock build test. Keep the test focused on validating the generated bootloader support mock. Co-authored-by: Cursor --- .../linux_compatible/mock_build_test/main/mock_build_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_apps/linux_compatible/mock_build_test/main/mock_build_test.c b/tools/test_apps/linux_compatible/mock_build_test/main/mock_build_test.c index d3a22fe3bb9..eebf76f62e1 100644 --- a/tools/test_apps/linux_compatible/mock_build_test/main/mock_build_test.c +++ b/tools/test_apps/linux_compatible/mock_build_test/main/mock_build_test.c @@ -150,7 +150,7 @@ void app_main(void) bootloader_random_enable_Ignore(); bootloader_random_enable(); - esp_flash_encryption_enabled_IgnoreAndReturn(true); + esp_efuse_is_flash_encryption_enabled_IgnoreAndReturn(true); bool flash_encrypted = esp_efuse_is_flash_encryption_enabled(); (void)flash_encrypted;