You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
I've searched for existing issues regarding this feature, and didn't find any.
Description
Micropython on ESP32 board does not support option 'hard=True' in machine.Pin.irq().
This results in unpredictable effects in the case of faster interrupts, and even the number of call-back function being called far exceeds the number of interrupts that actually occur.
Code Size
Since STM32 platforms have implemented hard interrupts, so I don't think that adds much of a burden.
I once glanced at the source code and felt that it was enough to use mp_call_function_1() instead of mp_sched_schedule, and lock/unlock some resources like GC.
Implementation
I intend to implement this feature and would submit a Pull Request if desirable.
I hope the MicroPython maintainers or community will implement this feature.
I would like to Sponsor development of this feature.
The text was updated successfully, but these errors were encountered:
Checks
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
I've searched for existing issues regarding this feature, and didn't find any.
Description
Micropython on ESP32 board does not support option 'hard=True' in machine.Pin.irq().
This results in unpredictable effects in the case of faster interrupts, and even the number of call-back function being called far exceeds the number of interrupts that actually occur.
Code Size
Since STM32 platforms have implemented hard interrupts, so I don't think that adds much of a burden.
I once glanced at the source code and felt that it was enough to use mp_call_function_1() instead of mp_sched_schedule, and lock/unlock some resources like GC.
Implementation
The text was updated successfully, but these errors were encountered: