Just so you know, there's still something a bit odd. AFAIK you should be able to do while(1); and then Ctrl-C out of it.
It seems that for some reason IDF4 isn't preempting the espruinoTask task for uartTask when UART data arrives, despite the uartTask having a higher priority. I think it is only stepping in when the espruinotask calls vTaskDelay to wait (which I had to add so the watchdog didn't freak out).
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.
Just so you know, there's still something a bit odd. AFAIK you should be able to do
while(1);
and then Ctrl-C out of it.It seems that for some reason IDF4 isn't preempting the
espruinoTask
task foruartTask
when UART data arrives, despite theuartTask
having a higher priority. I think it is only stepping in when theespruinotask
callsvTaskDelay
to wait (which I had to add so the watchdog didn't freak out).