mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 18:10:57 +02:00
Merge branch 'feat/esp32h4_unicore_stop_other_core' into 'master'
feat(esp_system): stop other core for unicore esp32h4 See merge request espressif/esp-idf!41640
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user