Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: kernel: tickless: tickless_concept: Support more frequencies #87623

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

nordic-krch
Copy link
Contributor

Test was assuming that CONFIG_SYS_CLOCK_TICKS_PER_SEC=100 but such frequency is not well supported on SoC which are based on 32768 Hz RTC clock. Align test to be able to work with different sys_clock frequency by converting previously 20 ticks to milliseconds.

Set CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768 when system clock is using Nordic RTC timer driver.

Fixes #83895.

Test was assuming that CONFIG_SYS_CLOCK_TICKS_PER_SEC=100 but such
frequency is not well supported on SoC which are based on 32768 Hz RTC
clock. Align test to be able to work with different sys_clock
frequency by converting previously 20 ticks to milliseconds.

Set CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768 when system clock is using
Nordic RTC timer driver.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
@kartben kartben merged commit 5cbae7f into zephyrproject-rtos:main Mar 28, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kernel: tickless: tickless_concept: kernel.tickless.concept fails
6 participants