alif/system_tick: Implement optional LPTIMER support for systick.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-08-14 16:50:28 +10:00
parent cee8e111cb
commit bbb8fd77fd
4 changed files with 158 additions and 3 deletions

View File

@@ -36,6 +36,12 @@
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_FULL_FEATURES)
#endif
// Select the low-level system tick implementation.
#if !defined(MICROPY_HW_SYSTEM_TICK_USE_LPTIMER) \
&& !defined(MICROPY_HW_SYSTEM_TICK_USE_UTIMER)
#define MICROPY_HW_SYSTEM_TICK_USE_UTIMER (1)
#endif
#ifndef MICROPY_HW_ENABLE_OSPI
#define MICROPY_HW_ENABLE_OSPI (CORE_M55_HP)
#endif