From f428a241c69e5787a83bf87eb585ce7fedbad62f Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Wed, 15 Jun 2022 17:26:29 +0800 Subject: [PATCH] soc(esp32): Expose SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL for all ECO versions It fixes a build issue when ESP32_ECO3_CACHE_LOCK_FIX=y Closes https://github.com/espressif/esp-idf/issues/9160 --- components/soc/esp32/include/soc/soc_caps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32/include/soc/soc_caps.h b/components/soc/esp32/include/soc/soc_caps.h index 158fc6263e..a730a17d48 100644 --- a/components/soc/esp32/include/soc/soc_caps.h +++ b/components/soc/esp32/include/soc/soc_caps.h @@ -92,8 +92,8 @@ #if SOC_CAPS_ECO_VER < 2 #define SOC_DPORT_WORKAROUND 1 -#define SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL (5U) #endif // SOC_CAPS_ECO_VER < 2 +#define SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL (5U) /*-------------------------- ADC CAPS ----------------------------------------*/ /**