From 0691e45a1c7f8caa4eb2dcfc1969a67e82e36ea2 Mon Sep 17 00:00:00 2001 From: Marcel Kottmann Date: Fri, 7 May 2021 20:38:49 +0200 Subject: [PATCH 1/2] mbedtls: Allow external mem alloc for ESP32-S2 --- components/mbedtls/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mbedtls/Kconfig b/components/mbedtls/Kconfig index ed0e62e9b83f..6dd89ef8b1c2 100644 --- a/components/mbedtls/Kconfig +++ b/components/mbedtls/Kconfig @@ -25,7 +25,7 @@ menu "mbedTLS" config MBEDTLS_EXTERNAL_MEM_ALLOC bool "External SPIRAM" - depends on ESP32_SPIRAM_SUPPORT + depends on ESP32_SPIRAM_SUPPORT || ESP32S2_SPIRAM_SUPPORT config MBEDTLS_DEFAULT_MEM_ALLOC bool "Default alloc mode" From 3b08b1dbb07ea26854ab762a6e16b3d5cd32e2c2 Mon Sep 17 00:00:00 2001 From: Marcel Kottmann Date: Sun, 9 May 2021 17:03:49 +0200 Subject: [PATCH 2/2] mbedtls: Allow external mem alloc for ESP32-S2 Co-authored-by: Mahavir Jain --- components/mbedtls/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mbedtls/Kconfig b/components/mbedtls/Kconfig index 6dd89ef8b1c2..2dd126fb992e 100644 --- a/components/mbedtls/Kconfig +++ b/components/mbedtls/Kconfig @@ -25,7 +25,7 @@ menu "mbedTLS" config MBEDTLS_EXTERNAL_MEM_ALLOC bool "External SPIRAM" - depends on ESP32_SPIRAM_SUPPORT || ESP32S2_SPIRAM_SUPPORT + depends on SPIRAM_USE_CAPS_ALLOC || SPIRAM_USE_MALLOC config MBEDTLS_DEFAULT_MEM_ALLOC bool "Default alloc mode"