summaryrefslogtreecommitdiff
path: root/py/dynruntime.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-11-27 11:43:15 +1100
committerDamien George <damien@micropython.org>2023-11-30 16:11:11 +1100
commitf523b86541440cc756aa0b2379538ee5e7864803 (patch)
tree1020c8b0335d6825537afd266c1acd5165f9b2c9 /py/dynruntime.h
parente1ec6af654b1c5c4a973b6c6b029ee68bb92eb89 (diff)
extmod/modmachine: Provide common implementation of disable/enable_irq.
The ports esp32, mimxrt, rp2 and samd all shared exactly the same implementation of machine.disable_irq() and machine.enable_irq(), implemented in terms of MICROPY_{BEGIN,END}_ATOMIC_SECTION. This commit factors these implementations into extmod/modmachine.c. The cc3200, esp8266, nrf, renesas-ra and stm32 ports do not yet use this common implementation. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/dynruntime.h')
0 files changed, 0 insertions, 0 deletions