summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/alif/mpconfigport.h4
1 files changed, 4 insertions, 0 deletions
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