Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By dkinzer
#37111
jcmvbkbc wrote:1 in the rsil instruction is the maximal level of normal interrupts for our lx106 core.
I could be wrong but I believe that non-maskable interrupts can still occur. There has been some work on disabling NMI but I haven't used the technique.

viewtopic.php?f=9&t=3979
User avatar
By jcmvbkbc
#37112
dkinzer wrote:
jcmvbkbc wrote:1 in the rsil instruction is the maximal level of normal interrupts for our lx106 core.
I could be wrong but I believe that non-maskable interrupts can still occur.

You're right.
OTOH AFAIU the issue here was about not letting other parts of user code see inconsistent counters state, and unless that user code could be called from NMI that still can be achieved with regular interrupts disabling.