I'm using mp_sched_schedule() to trigger callbacks into µPy. This by-and-large works fine, but if I have some code in the callback that writes to flash, it crashes spectacularly, but without usefull backtrace (see https://github.com/espressif/esp-idf/issues/611).
Are there any known caveats to using mp_sched_schedule() that might be causing problems?
Caveats of using mp_sched_schedule() ?
Re: Caveats of using mp_sched_schedule() ?
Did I see correctly that this problem is now fixed? There shouldn't be any problems using mp_sched_schedule() like the kind you describe.
Sent from my GT-I9105P using Tapatalk
Sent from my GT-I9105P using Tapatalk
Re: Caveats of using mp_sched_schedule() ?
Yes, the problem is resolved (probably by your fixups for IDF sync), but I still don't know why the flash writes only failed from within the function that was called by mp_sched_schedule(), thus this question.
It was a long shot, but I figured it was worth asking.
Thanks.
It was a long shot, but I figured it was worth asking.
Thanks.