diff options
| author | Damien George <damien@micropython.org> | 2024-09-03 17:04:56 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-04-09 00:22:32 +1000 |
| commit | 58d6fe236b60daa92810abc81c8462e362a344dc (patch) | |
| tree | 5967972a3842e23680520a4bd9055fbe53106cb3 | |
| parent | c6ebecc4c3dbeeecbb0eecabd4ecb6162b8f14bb (diff) | |
alif/mpconfigport: Select SysTick on HE core.
UTIMER is used by the HP.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/alif/mpconfigport.h | 4 |
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 |
