From 58d6fe236b60daa92810abc81c8462e362a344dc Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 3 Sep 2024 17:04:56 +1000 Subject: [PATCH] alif/mpconfigport: Select SysTick on HE core. UTIMER is used by the HP. Signed-off-by: Damien George --- ports/alif/mpconfigport.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/alif/mpconfigport.h b/ports/alif/mpconfigport.h index 0fee2c379..ae3ad7a30 100644 --- a/ports/alif/mpconfigport.h +++ b/ports/alif/mpconfigport.h @@ -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