Merge branch 'bugfix/fix_nmi_reenter_when_multi_enable_mac_interrupt_v3.2' into 'release/v3.2'

fix(xtensa): Fix NMI reenter when multi enable MAC interrupt (backport v3.2)

See merge request sdk/ESP8266_RTOS_SDK!1470
This commit is contained in:
Dong Heng
2020-07-08 15:22:05 +08:00
2 changed files with 13 additions and 0 deletions

View File

@@ -117,6 +117,7 @@
//}}
//Interrupt remap control registers define{{
#define NMI_INT_ENABLE_REG (PERIPHS_DPORT_BASEADDR)
#define EDGE_INT_ENABLE_REG (PERIPHS_DPORT_BASEADDR + 0x04)
#define WDT_EDGE_INT_ENABLE() SET_PERI_REG_MASK(EDGE_INT_ENABLE_REG, BIT0)
#define TM1_EDGE_INT_ENABLE() SET_PERI_REG_MASK(EDGE_INT_ENABLE_REG, BIT1)