diff options
author | Chris Webb <chris@arachsys.com> | 2025-08-25 14:02:32 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2025-09-25 23:59:24 +1000 |
commit | 955b6a907cdaf15135470d2c71bcede8620eaa6f (patch) | |
tree | 59b9510746c4c10ec0e1a7521185df10378d40ce /docs/esp8266 | |
parent | ad11df7f7ac73b1d9d0c69274a5e56140c621401 (diff) |
extmod/machine_timer: Support hard IRQ soft timer callbacks.
machine.Timer() has inconsistent behaviour between ports: some run
callbacks in hard IRQ context whereas others schedule them like soft IRQs.
As on the rp2 port, add support to the generic software timer for a hard=
argument to explicitly choose between these, setting the default to False
to match the existing behaviour. This enables hard timer callbacks for
the alif, mimxrt and samd ports.
Signed-off-by: Chris Webb <chris@arachsys.com>
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions