Merge branch 'feature/boot_close_irq_with_level_3_v3.4' into 'release/v3.4'

feat(bootloader): Boot close IRQ with level 3 (backport v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1656
This commit is contained in:
Dong Heng
2022-05-13 20:11:43 +08:00

View File

@@ -31,7 +31,11 @@ static inline esp_irqflag_t soc_save_local_irq(void)
esp_irqflag_t flag;
__asm__ __volatile__(
#ifdef BOOTLOADER_BUILD
"rsil %0, 3\n"
#else
"rsil %0, 1\n"
#endif
: "=a"(flag)
:
: "memory"