micropython/shared/runtime
Damien George 516cc280e0 shared/runtime/softtimer: Generalise soft_timer to work without SysTick.
If a port defines MICROPY_SOFT_TIMER_TICKS_MS then soft_timer assumes a
SysTick back end, and provides a soft_timer_next variable that sets when
the next call to soft_timer_handler() should occur.

Otherwise, a port should provide soft_timer_get_ms() and
soft_timer_schedule_at_ms() with appropriate semantics (see comments).

Existing users of soft_timer should continue to work as they did.

Signed-off-by: Damien George <damien@micropython.org>
2023-11-29 16:17:12 +11:00
..
gchelper.h
gchelper_generic.c
gchelper_native.c
gchelper_thumb1.s
gchelper_thumb2.s
interrupt_char.c
interrupt_char.h
mpirq.c
mpirq.h
pyexec.c py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
pyexec.h
semihosting.c
semihosting.h
softtimer.c shared/runtime/softtimer: Generalise soft_timer to work without SysTick. 2023-11-29 16:17:12 +11:00
softtimer.h shared/runtime/softtimer: Generalise soft_timer to work without SysTick. 2023-11-29 16:17:12 +11:00
stdout_helpers.c
sys_stdio_mphal.c py/stream: Add mp_stream___exit___obj that calls mp_stream_close. 2023-07-21 18:49:03 +10:00