From 102f8e961f1b1e61ee687b896f5609a2b7027ff6 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Thu, 17 Mar 2022 15:12:28 +0530 Subject: [PATCH] esp-tls: use SOC capability macros instead of target names --- components/esp-tls/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/esp-tls/Kconfig b/components/esp-tls/Kconfig index 1c6911c69d..03db196e88 100644 --- a/components/esp-tls/Kconfig +++ b/components/esp-tls/Kconfig @@ -26,8 +26,7 @@ menu "ESP-TLS" config ESP_TLS_USE_DS_PERIPHERAL bool "Use Digital Signature (DS) Peripheral with ESP-TLS" - depends on (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32H2 || IDF_TARGET_ESP32S3) - depends on ESP_TLS_USING_MBEDTLS + depends on ESP_TLS_USING_MBEDTLS && SOC_DIG_SIGN_SUPPORTED default y help Enable use of the Digital Signature Peripheral for ESP-TLS.The DS peripheral