What does "Suitable hardware" mean?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
rckdev
Posts: 7
Joined: Fri Apr 30, 2021 10:38 am
Contact:

What does "Suitable hardware" mean?

Post by rckdev » Mon May 17, 2021 7:48 am

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?

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: What does "Suitable hardware" mean?

Post by dhylands » Mon May 17, 2021 9:58 pm

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.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: What does "Suitable hardware" mean?

Post by rcolistete » Wed May 19, 2021 2:44 pm

MicroPython for BBC micro:bit is also limited with respect to interrupt handlers, as far as I remember.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

Post Reply