Skip to content

Commit 58d6fe2

Browse files
committed
alif/mpconfigport: Select SysTick on HE core.
UTIMER is used by the HP. Signed-off-by: Damien George <damien@micropython.org>
1 parent c6ebecc commit 58d6fe2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ports/alif/mpconfigport.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
#if !defined(MICROPY_HW_SYSTEM_TICK_USE_SYSTICK) \
4141
&& !defined(MICROPY_HW_SYSTEM_TICK_USE_LPTIMER) \
4242
&& !defined(MICROPY_HW_SYSTEM_TICK_USE_UTIMER)
43+
#if CORE_M55_HP
4344
#define MICROPY_HW_SYSTEM_TICK_USE_UTIMER (1)
45+
#else
46+
#define MICROPY_HW_SYSTEM_TICK_USE_SYSTICK (1)
47+
#endif
4448
#endif
4549
#if MICROPY_HW_SYSTEM_TICK_USE_SYSTICK
4650
#define MICROPY_SOFT_TIMER_TICKS_MS system_tick_ms_counter

0 commit comments

Comments
 (0)