zephyr/tests/kernel/timer/timer_api/src
Ruibin Chang 692054aaee tests/kernel/timer/timer_api: modify logic for longer real time
SYS_CLOCK_TICKS_PER_SEC of it8xxx2 is 4096 (244us).
Running test_sleep_abs item on it8xxx2 and we get
k_us_to_ticks_ceil32(250) = 2 and late = 2, so it failed.
After we enable the CONFIG_PM, it needs more time to resume
from low power mode, so I modify the logic to <= for passing
the test.

fixes #49605

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2022-09-05 10:17:43 +02:00
..
main.c tests/kernel/timer/timer_api: modify logic for longer real time 2022-09-05 10:17:43 +02:00
timer_convert.c tests: kernel: move the timer api to new ztest API 2022-08-15 18:40:29 +00:00