mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-04 08:03:31 +08:00
feat(bootloader): Boot close IRQ with level 3
This commit is contained in:
@ -31,7 +31,11 @@ static inline esp_irqflag_t soc_save_local_irq(void)
|
|||||||
esp_irqflag_t flag;
|
esp_irqflag_t flag;
|
||||||
|
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
|
#ifdef BOOTLOADER_BUILD
|
||||||
|
"rsil %0, 3\n"
|
||||||
|
#else
|
||||||
"rsil %0, 1\n"
|
"rsil %0, 1\n"
|
||||||
|
#endif
|
||||||
: "=a"(flag)
|
: "=a"(flag)
|
||||||
:
|
:
|
||||||
: "memory"
|
: "memory"
|
||||||
|
Reference in New Issue
Block a user