mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Use of CONFIG_THREAD_RUNTIME_STATS was added to this sample, but caused issue because the call to z_thread_mark_switched_in() is using k_cycle_get_32() before the timer is initialized. Enable CONFIG_THREAD_RUNTIME_STATS_USE_TIMING_FUNCTIONS=y to select hidden config CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT, which calls to initialize the timer needed at boot for thread runtime stats configuration. Fixes #33275 Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>