From 32b69f53aa3af9a6efd366ac9dc0b1775609154d Mon Sep 17 00:00:00 2001 From: Richard Wheatley Date: Tue, 7 May 2024 14:25:52 -0500 Subject: [PATCH] soc: ambiq: Add Clocks per tick Define System clocks per tick Signed-off-by: Richard Wheatley --- soc/ambiq/Kconfig.defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soc/ambiq/Kconfig.defconfig b/soc/ambiq/Kconfig.defconfig index 2d0efbe5424..70a7507a4c1 100644 --- a/soc/ambiq/Kconfig.defconfig +++ b/soc/ambiq/Kconfig.defconfig @@ -12,4 +12,7 @@ config CORTEX_M_SYSTICK config SYS_CLOCK_HW_CYCLES_PER_SEC default 32768 if AMBIQ_STIMER_TIMER +config SYS_CLOCK_TICKS_PER_SEC + default 1024 + endif # SOC_FAMILY_AMBIQ