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:
parent
c6ebecc4c3
commit
58d6fe236b
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue