mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(soc): disable esp32s31 WFE feature at startup
This commit is contained in:
@@ -252,7 +252,7 @@ void ESP_SYSTEM_IRAM_ATTR call_start_cpu1(void)
|
||||
esp_cpu_intr_set_mtvt_addr(&_mtvt_table);
|
||||
#endif
|
||||
#if SOC_CPU_SUPPORT_WFE
|
||||
rv_utils_disable_wfe_mode();
|
||||
esp_cpu_disable_wfe_mode();
|
||||
#endif
|
||||
ets_set_appcpu_boot_addr(0);
|
||||
|
||||
|
||||
@@ -507,6 +507,10 @@ config SOC_CPU_HAS_FLEXIBLE_INTC
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CPU_SUPPORT_WFE
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_INT_CLIC_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -173,6 +173,7 @@
|
||||
#define SOC_CPU_CORES_NUM (2U)
|
||||
#define SOC_CPU_INTR_NUM 32
|
||||
#define SOC_CPU_HAS_FLEXIBLE_INTC 1
|
||||
#define SOC_CPU_SUPPORT_WFE 1
|
||||
#define SOC_INT_CLIC_SUPPORTED 1
|
||||
#define SOC_INT_HW_NESTED_SUPPORTED 1 // Support for hardware interrupts nesting
|
||||
#define SOC_BRANCH_PREDICTOR_SUPPORTED 1
|
||||
|
||||
Reference in New Issue
Block a user