bhcuong2008
bhcuong2008
I also tried with 0. It causes exception quicker. Other tries were 5ms, 10ms, 20ms. All caused exceptions, but longer to happen.
@peterhinch , here is the minimal code you could try it. In REPL, pls define functions as below and run async task. On my chip, exceptions occur randomly, maybe after...
@peterhinch , I see that uasyncio has operations related to push/pop task to/from task queue, implemented in moduasyncio.c Could there be some corruptions during these operations due to high speed...
Thank u for ur effort. Hope that it has the same issue as mine. Otherwise I could not debug the internal code of module uasyncio. I've just begun my learning...
uasyncio code almost is in Python language, in folder extmod/uasyncio. If sync code run well, then everything in Python language will be fine. Only Task, TaskQueue code is in C,...
My module and my hardware run my app well over 1.5 years. Now I integrate MicroPython into it. It could run sync code MicroPython well, even in MP thread. Only...
Upon on your precious result and keyword, I've found interesting results. I'm testing it for over a day to validate my judgement. Tomorrow (GMT+7), I will share my detail results....
Firstly, I share my result during 2 days. Based on testing of @peterhinch, I think that it's a simple application with main thread of Micropython, with/wo Wifi connection. This is...
@dpgeorge, I have learnt from MPY esp32 port in v1.14, v1.15 together with Lobo, to make my own environment to build mpy as a library to use in my main...
Here is coredump from ESP32 of break exception. In this case, MPY thread priority is 1. [coredump_break.txt](https://github.com/peterhinch/micropython-async/files/6524194/coredump_break.txt) And this is espcoredump output from coredump above. [espcoredump_break.txt](https://github.com/peterhinch/micropython-async/files/6524197/espcoredump_break.txt) Every break exceptions or...