Skip to content

Commit acb835d

Browse files
blueMoodBHDespressif-bot
authored andcommitted
components/sys: Fix build error about livelock when intwdt is disable
1 parent 803cf06 commit acb835d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/esp_system/port/esp32/dport_panic_highint_hdl.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Interrupt , a high-priority interrupt, is used for several things:
4141
_l4_intr_stack:
4242
.space L4_INTR_STACK_SIZE*portNUM_PROCESSORS /* This allocates stacks for each individual CPU. */
4343

44-
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX
44+
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX && CONFIG_ESP_INT_WDT
4545
.global _l4_intr_livelock_counter
4646
.global _l4_intr_livelock_max
4747
.align 16
@@ -70,7 +70,7 @@ xt_highint4:
7070
bnez a0, .handle_dport_access_int
7171
#endif // CONFIG_FREERTOS_UNICORE
7272

73-
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX
73+
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX && CONFIG_ESP_INT_WDT
7474
/* See if we're here for the tg1 watchdog interrupt */
7575
rsr a0, INTERRUPT
7676
extui a0, a0, ETS_T1_WDT_INUM, 1
@@ -163,7 +163,7 @@ xt_highint4:
163163
rfi 4
164164

165165

166-
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX
166+
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX && CONFIG_ESP_INT_WDT
167167

168168
/*
169169
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)