1d45065e8a
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>
12 lines
271 B
Plaintext
12 lines
271 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# 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
|