micropython/ports
Chris Webb 7816b1f513 rp2/machine_timer: Support hard IRQ timer callbacks.
Unlike some boards like stm32, timer callbacks on the rp2 port are
unconditionally dispatched via mp_sched_schedule(), behaving like
soft IRQs with consequent GC jitter and delays.

Add a 'hard' keyword argument to the rp2 Timer constructor and init.
This defaults to False but if it is set True, the timer callback will
be dispatched in hard IRQ context rather than queued.

Signed-off-by: Chris Webb <chris@arachsys.com>
2025-06-16 12:35:51 +01:00
..
alif extmod/modnetwork: Consolidate definition of common drivers. 2025-06-10 11:20:38 +10:00
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 esp32/modesp32: Make wake_on_ext1 available only on SoCs supporting it. 2025-06-16 14:18:02 +10:00
esp8266 esp8266/modmachine: Use common machine_time_pulse_us implementation. 2025-06-13 16:27:35 +10:00
mimxrt extmod/modnetwork: Consolidate definition of common drivers. 2025-06-10 11:20:38 +10:00
minimal all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
nrf ports: Update board.json files for vendor/product consistency. 2025-06-04 01:47:59 +10:00
pic16bit all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
powerpc all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
qemu all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
renesas-ra renesas-ra: Replace MICROPY_EVENT_POLL_HOOK with mp_event_wait. 2025-06-16 16:36:31 +10:00
rp2 rp2/machine_timer: Support hard IRQ timer callbacks. 2025-06-16 12:35:51 +01:00
samd ports: Update board.json files for vendor/product consistency. 2025-06-04 01:47:59 +10:00
stm32 extmod/modnetwork: Consolidate definition of common drivers. 2025-06-10 11:20:38 +10:00
unix unix/coverage: Add coverage test for left adjusted print. 2025-06-16 13:59:57 +10:00
webassembly all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
windows all: Rename the "NORETURN" macro to "MP_NORETURN". 2025-05-13 10:36:47 +10:00
zephyr extmod/modbluetooth: Add timeout to deinit. 2025-06-04 02:21:32 +10:00