mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
feat(freertos): Enable cache when panic
Some function may disable cache.
This commit is contained in:
@ -89,6 +89,9 @@ static void IRAM_ATTR panic_stack(StackType_t *start, StackType_t *end)
|
||||
*/
|
||||
void IRAM_ATTR panicHandler(void *frame)
|
||||
{
|
||||
// for panic the function that disable cache
|
||||
Cache_Read_Enable_New();
|
||||
|
||||
int *regs = (int *)frame;
|
||||
int x, y;
|
||||
const char *sdesc[] = {
|
||||
|
Reference in New Issue
Block a user