mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-14 16:23:57 +00:00
fix(freertos): workaround a hardware bug related to HWLP coprocessor
This commit manually sets the HWLP context to dirty when a Task that needs it is scheduled it.
This commit is contained in:
@@ -511,6 +511,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
|
||||
|
@@ -176,6 +176,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
|
||||
|
||||
|
Reference in New Issue
Block a user