soc: arm: ambiq: apollo4x: configure STIMER

Disable SysTick when STIMER is in use and configure
SYS_CLOCK_HW_CYCLES_PER_SEC setting for it.

Signed-off-by: Maciej Sobkowski <msobkowski@antmicro.com>
This commit is contained in:
Maciej Sobkowski 2023-06-19 14:23:13 +02:00 committed by Carles Cufí
commit 1d45065e8a

View file

@ -3,3 +3,9 @@
# Copyright (c) 2023 Antmicro <www.antmicro.com>
source "soc/arm/ambiq/*/Kconfig.defconfig.series"
config CORTEX_M_SYSTICK
default n if AMBIQ_STIMER_TIMER
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 32768 if AMBIQ_STIMER_TIMER