mirror of
https://github.com/micropython/micropython.git
synced 2025-08-22 10:30:32 +02:00
alif/mpconfigport: Select SysTick on HE core.
UTIMER is used by the HP. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -40,7 +40,11 @@
|
||||
#if !defined(MICROPY_HW_SYSTEM_TICK_USE_SYSTICK) \
|
||||
&& !defined(MICROPY_HW_SYSTEM_TICK_USE_LPTIMER) \
|
||||
&& !defined(MICROPY_HW_SYSTEM_TICK_USE_UTIMER)
|
||||
#if CORE_M55_HP
|
||||
#define MICROPY_HW_SYSTEM_TICK_USE_UTIMER (1)
|
||||
#else
|
||||
#define MICROPY_HW_SYSTEM_TICK_USE_SYSTICK (1)
|
||||
#endif
|
||||
#endif
|
||||
#if MICROPY_HW_SYSTEM_TICK_USE_SYSTICK
|
||||
#define MICROPY_SOFT_TIMER_TICKS_MS system_tick_ms_counter
|
||||
|
Reference in New Issue
Block a user