If my users create .py scripts with for- or while-loops, I have to be able to RTOS.yield() to other RTOS tasks after a certain amount of time.
If I configure uPython to only use bytecode, this is trivial: I modify the macro
Code: Select all
DISPATCH()
However, if native/viper code is generated, there's no way for me to insert a custom piece of code at the end of the for-loop, correct?