alif/system_tick: Implement optional ARM SysTick support for systick.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-08-28 12:59:47 +10:00
parent bbb8fd77fd
commit c6ebecc4c3
4 changed files with 82 additions and 6 deletions

View File

@@ -30,7 +30,7 @@
#if MICROPY_HW_SYSTEM_TICK_USE_LPTIMER
extern uint64_t system_tick_source_hz;
#else
#elif MICROPY_HW_SYSTEM_TICK_USE_UTIMER
extern uint64_t system_core_clock_mhz;
#endif