summaryrefslogtreecommitdiff
path: root/tests/extmod/machine_timer.py
diff options
context:
space:
mode:
authorChris Webb <chris@arachsys.com>2025-08-25 14:19:52 +0100
committerDamien George <damien.p.george@gmail.com>2025-09-25 23:59:24 +1000
commit49f2a1f0ed1ef140b2ae5a2bb1870b605d99c2f6 (patch)
treec9a47397d53b093da025e7efcd56466b2e837d79 /tests/extmod/machine_timer.py
parenta69b08b756eae5b59006b93524a8d9c4d78847bc (diff)
stm32/timer: Support soft IRQ 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 stm32 port for a hard= argument to explicitly choose between these, setting the default to True to match the existing behaviour. Signed-off-by: Chris Webb <chris@arachsys.com>
Diffstat (limited to 'tests/extmod/machine_timer.py')
0 files changed, 0 insertions, 0 deletions