Page 1 of 1

What does "Suitable hardware" mean?

Posted: Mon May 17, 2021 7:48 am
by rckdev
Hi,
I'm studying the MicroPython documentation and I found the phrase "On suitable hardware MicroPython offers the ability to write interrupt handlers in Python" in the Writing interrupt handlers section. What is precisely this suitable hardware? Is there a list of micros?

Re: What does "Suitable hardware" mean?

Posted: Mon May 17, 2021 9:58 pm
by dhylands
Some ports, like the unix port and the windows port do not give access to writing interrupt handlers.

I think all of the MCU ports allow writing at least some of the interrupt handlers to be written in MicroPython. Some platforms (like the ESP series I believe) don't allow hard IRQs, just soft ones.

Re: What does "Suitable hardware" mean?

Posted: Wed May 19, 2021 2:44 pm
by rcolistete
MicroPython for BBC micro:bit is also limited with respect to interrupt handlers, as far as I remember.