I’m doing some time calculations that use the OS tick as base. This requires me to analyze my apps behaviour on tick wrap over. As I don’t want to wait until this happens, I now have to change FreeRTOS code to change xTickCount.
Is there a reason why the tick start value is not set to some value a few seconds/minutes before wrap over, like in Linux kernel (https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/linux/jiffies.h?id=a2b42342b2cb55d9b41ce36396334525f99ba17d INITIAL_JIFFIES )?
I know that this will not magically detect all wrap over errors, but it might help detect some