Merge branch 'bugfix/hwlp_coproc_saving_master' into 'master'

fix(freertos): workaround a hardware bug related to HWLP coprocessor

See merge request espressif/esp-idf!37246
This commit is contained in:
Omar Chebib
2025-03-19 11:58:13 +08:00
5 changed files with 128 additions and 98 deletions

View File

@@ -523,6 +523,10 @@ config SOC_CPU_HAS_HWLOOP
bool
default y
config SOC_CPU_HAS_HWLOOP_STATE_BUG
bool
default y
config SOC_CPU_HAS_PIE
bool
default y

View File

@@ -179,6 +179,7 @@
#define SOC_CPU_HAS_FPU 1
#define SOC_CPU_HAS_FPU_EXT_ILL_BUG 1 // EXT_ILL CSR doesn't support FLW/FSW
#define SOC_CPU_HAS_HWLOOP 1
#define SOC_CPU_HAS_HWLOOP_STATE_BUG 1 // HWLOOP state doesn't go to DIRTY after executing the last instruction of a loop
/* PIE coprocessor assembly is only supported with GCC compiler */
#define SOC_CPU_HAS_PIE 1