From 72ba7446d017e2ae8cabe5d91019b850206354c6 Mon Sep 17 00:00:00 2001 From: Samuel Obuch Date: Fri, 13 Feb 2026 18:35:21 +0100 Subject: [PATCH] fix(esp32c61): fix number of available breakpoints and watchpoints --- components/soc/esp32c61/include/soc/Kconfig.soc_caps.in | 4 ++-- components/soc/esp32c61/include/soc/soc_caps.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in index 0da7a4ebe1a..0e52d80037a 100644 --- a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in @@ -349,11 +349,11 @@ config SOC_BRANCH_PREDICTOR_SUPPORTED config SOC_CPU_BREAKPOINTS_NUM int - default 4 + default 3 config SOC_CPU_WATCHPOINTS_NUM int - default 4 + default 3 config SOC_CPU_WATCHPOINT_MAX_REGION_SIZE hex diff --git a/components/soc/esp32c61/include/soc/soc_caps.h b/components/soc/esp32c61/include/soc/soc_caps.h index 38a8f54dfd6..a75d3b9c89e 100644 --- a/components/soc/esp32c61/include/soc/soc_caps.h +++ b/components/soc/esp32c61/include/soc/soc_caps.h @@ -134,8 +134,8 @@ #define SOC_INT_HW_NESTED_SUPPORTED 1 // Support for hardware interrupts nesting #define SOC_BRANCH_PREDICTOR_SUPPORTED 1 -#define SOC_CPU_BREAKPOINTS_NUM 4 -#define SOC_CPU_WATCHPOINTS_NUM 4 +#define SOC_CPU_BREAKPOINTS_NUM 3 +#define SOC_CPU_WATCHPOINTS_NUM 3 #define SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 0x80000000 // bytes #define SOC_CPU_HAS_PMA 1