From da344a7d59430da614038f932a7b116bfeaea374 Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Tue, 26 May 2026 18:43:23 +0700 Subject: [PATCH] feat(soc): esp32c5, esp32c61: enable zc extensions --- components/soc/esp32c5/include/soc/Kconfig.soc_caps.in | 4 ++++ components/soc/esp32c5/include/soc/soc_caps.h | 2 ++ components/soc/esp32c61/include/soc/Kconfig.soc_caps.in | 4 ++++ components/soc/esp32c61/include/soc/soc_caps.h | 2 ++ 4 files changed, 12 insertions(+) diff --git a/components/soc/esp32c5/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c5/include/soc/Kconfig.soc_caps.in index 057ec4326b7..2f353c9889a 100644 --- a/components/soc/esp32c5/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c5/include/soc/Kconfig.soc_caps.in @@ -503,6 +503,10 @@ config SOC_CPU_HAS_LOCKUP_RESET bool default y +config SOC_CPU_HAS_ZC_EXTENSIONS + bool + default y + config SOC_CPU_ZCMP_WORKAROUND bool default y diff --git a/components/soc/esp32c5/include/soc/soc_caps.h b/components/soc/esp32c5/include/soc/soc_caps.h index 45c721c44e1..7c1d6d88279 100644 --- a/components/soc/esp32c5/include/soc/soc_caps.h +++ b/components/soc/esp32c5/include/soc/soc_caps.h @@ -187,6 +187,8 @@ #define SOC_CPU_HAS_LOCKUP_RESET 1 +#define SOC_CPU_HAS_ZC_EXTENSIONS 1 + #define SOC_CPU_ZCMP_WORKAROUND 1 #define SOC_CPU_ZCMP_PUSH_REVERSED 1 #define SOC_CPU_ZCMP_POPRET_ISSUE 1 diff --git a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in index 24d2ff9b3f3..17b228461af 100644 --- a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in @@ -387,6 +387,10 @@ config SOC_CPU_HAS_LOCKUP_RESET bool default y +config SOC_CPU_HAS_ZC_EXTENSIONS + bool + default y + config SOC_CPU_ZCMP_WORKAROUND bool default y diff --git a/components/soc/esp32c61/include/soc/soc_caps.h b/components/soc/esp32c61/include/soc/soc_caps.h index 3ca95cd1b3c..4887308a787 100644 --- a/components/soc/esp32c61/include/soc/soc_caps.h +++ b/components/soc/esp32c61/include/soc/soc_caps.h @@ -150,6 +150,8 @@ #define SOC_CPU_HAS_LOCKUP_RESET 1 +#define SOC_CPU_HAS_ZC_EXTENSIONS 1 + #define SOC_CPU_ZCMP_WORKAROUND 1 #define SOC_CPU_ZCMP_PUSH_REVERSED 1 #define SOC_CPU_ZCMP_POPRET_ISSUE 1