feat(esp_system): stop other core for unicore esp32h4

This commit is contained in:
Samuel Obuch
2025-08-28 21:57:18 +02:00
parent 747c172fdc
commit 38498e67cf

View File

@@ -683,6 +683,9 @@ NOINLINE_ATTR static void system_early_init(const soc_reset_reason_t *rst_reas)
#elif CONFIG_IDF_TARGET_ESP32P4
REG_CLR_BIT(HP_SYS_CLKRST_SOC_CLK_CTRL0_REG, HP_SYS_CLKRST_REG_CORE1_CPU_CLK_EN);
REG_SET_BIT(HP_SYS_CLKRST_HP_RST_EN0_REG, HP_SYS_CLKRST_REG_RST_EN_CORE1_GLOBAL);
#elif CONFIG_IDF_TARGET_ESP32H4
REG_CLR_BIT(PCR_CORE1_CONF_REG, PCR_CORE1_CLK_EN);
REG_SET_BIT(PCR_CORE1_CONF_REG, PCR_CORE1_RST_EN);
#endif // CONFIG_IDF_TARGET_ESP32
#endif // !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
#endif // SOC_CPU_CORES_NUM > 1