From dc3f29f67fab6258ab07dd2ef4b6e88a222d5da8 Mon Sep 17 00:00:00 2001 From: Ruibin Chang Date: Wed, 29 Jun 2022 10:19:33 +0800 Subject: [PATCH] ITE tests/kernel/sleep: tune CONFIG_SYS_CLOCK_TICKS_PER_SEC down We need more time to run codes because of the performance, so I tune CONFIG_SYS_CLOCK_TICKS_PER_SEC down to reduce the times of running k_usleep(1), then it can pass test_usleep(). Verified by follow test pattern: west build -p always -b it8xxx2_evb tests/kernel/sleep fixes #46208 Signed-off-by: Ruibin Chang --- soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series b/soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series index 359dd64e58b..af471d6b46b 100644 --- a/soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series +++ b/soc/riscv/riscv-ite/it8xxx2/Kconfig.defconfig.series @@ -26,7 +26,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC default 32768 config SYS_CLOCK_TICKS_PER_SEC - default 8192 + default 4096 config UART_NS16550 default y