Wow, that's an interesting thought... jshPushEvent does call jshInterruptOff/On and that calls __set_BASEPRI(0). I'd have thought that something like that would have caused all kinds of other issues though.
One thing that might help might be to look at the contents of the event queue to see what's actually in there?
Do you have any thoughts about reproducing this easily? Would nRF Connect or something do it?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Wow, that's an interesting thought...
jshPushEvent
does calljshInterruptOff/On
and that calls__set_BASEPRI(0)
. I'd have thought that something like that would have caused all kinds of other issues though.One thing that might help might be to look at the contents of the event queue to see what's actually in there?
Do you have any thoughts about reproducing this easily? Would nRF Connect or something do it?