Description:
Facing an issue with k_sleep() function misbehaving after few months due to the internal counter ticks crossed uint32_max values. Simulated the same by hardcoding the values given below on.
Setup:
1. NCS SDK version: v2.0.0 / Zephyr SDK v3.0.0 / Zephyr SDK v3.2.0
2. nRF52832 DK
Modifications:
1. Hardcode the values below in file https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/timer/nrf_rtc_timer.c#L42 to
Regards,
Raymond