micropython/extmod
Damien George f523b86541 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>
2023-11-30 16:11:11 +11:00
..
asyncio
axtls-include
btstack
lwip-include
mbedtls
nimble py/misc: Change sizeof to offsetof for variable-length alloc. 2023-11-03 16:03:18 +11:00
extmod.cmake extmod/modmachine: Factor ports' machine module dict to common code. 2023-11-30 16:11:11 +11:00
extmod.mk extmod/modmachine: Factor ports' machine module dict to common code. 2023-11-30 16:11:11 +11:00
font_petme128_8x8.h
machine_adc.c extmod/machine_adc: Factor ports' ADC Python bindings to common code. 2023-10-23 17:16:45 +11:00
machine_adc_block.c extmod/machine_adc_block: Factor esp32 ADCBlock bindings to common code. 2023-11-07 16:44:35 +11:00
machine_bitstream.c extmod/modmachine: Consolidate simple machine headers into modmachine.h. 2023-10-26 16:49:27 +11:00
machine_i2c.c extmod/machine_i2c: Do a fast poll during I2C.scan(). 2023-11-08 23:34:08 +11:00
machine_i2s.c extmod/machine_i2s: Factor comments, some enums and macros. 2023-10-20 17:40:17 +11:00
machine_mem.c extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h. 2023-10-26 17:40:22 +11:00
machine_pinbase.c extmod/modmachine: Add MICROPY_PY_MACHINE_PIN_BASE option. 2023-11-30 16:11:11 +11:00
machine_pulse.c extmod/modmachine: Consolidate simple machine headers into modmachine.h. 2023-10-26 16:49:27 +11:00
machine_pwm.c extmod/machine_pwm: Remove header file and move decls to .c file. 2023-10-20 16:24:46 +11:00
machine_signal.c extmod/modmachine: Consolidate simple machine headers into modmachine.h. 2023-10-26 16:49:27 +11:00
machine_spi.c extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h. 2023-10-26 17:40:22 +11:00
machine_timer.c
machine_uart.c extmod/machine_uart: Factor ports' UART Python bindings to common code. 2023-10-26 10:46:42 +11:00
machine_wdt.c extmod/machine_wdt: Factor ports' WDT Python bindings to common code. 2023-10-20 15:36:09 +11:00
misc.h
modasyncio.c
modbinascii.c
modbluetooth.c extmod/modbluetooth: Initialise nlr_jump_callback_top for IRQ handlers. 2023-11-09 14:51:20 +11:00
modbluetooth.h
modbtree.c
modcryptolib.c
moddeflate.c
modframebuf.c
modhashlib.c
modheapq.c
modjson.c
modlwip.c
modmachine.c extmod/modmachine: Provide common implementation of disable/enable_irq. 2023-11-30 16:11:11 +11:00
modmachine.h extmod/modmachine: Provide common bindings for 6 bare-metal functions. 2023-11-30 16:11:11 +11:00
modnetwork.c
modnetwork.h
modonewire.c
modos.c
modplatform.c
modplatform.h
modrandom.c
modre.c py/misc: Change sizeof to offsetof for variable-length alloc. 2023-11-03 16:03:18 +11:00
modselect.c
modsocket.c
modssl_axtls.c
modssl_mbedtls.c
modtime.c
modtime.h
moductypes.c
modwebrepl.c
modwebsocket.c
modwebsocket.h
mpbthci.c
mpbthci.h
network_cyw43.c
network_cyw43.h
network_esp_hosted.c
network_lwip.c
network_ninaw10.c extmod/network_ninaw10: Fix select flags handling in socket poll. 2023-10-27 15:49:17 +11:00
network_wiznet5k.c extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h. 2023-10-26 17:40:22 +11:00
os_dupterm.c
vfs.c
vfs.h
vfs_blockdev.c
vfs_fat.c
vfs_fat.h
vfs_fat_diskio.c
vfs_fat_file.c
vfs_lfs.c
vfs_lfs.h
vfs_lfsx.c
vfs_lfsx_file.c py/misc: Change sizeof to offsetof for variable-length alloc. 2023-11-03 16:03:18 +11:00
vfs_posix.c extmod/vfs_posix: Fix getcwd() on non-root VFS. 2023-10-19 16:21:09 +02:00
vfs_posix.h
vfs_posix_file.c extmod/vfs_posix_file: Make standard file objects non-const. 2023-11-09 15:01:34 +11:00
vfs_reader.c extmod/vfs_reader: Add file ioctl to set read buffer size. 2023-11-09 11:20:31 +11:00
virtpin.c
virtpin.h