Skip to content

Conversation

@maass-hamburg
Copy link
Member

@maass-hamburg maass-hamburg commented Jun 24, 2025

add CONFIG_LOG_TIMESTAMP_USE_REALTIME to a sample, so building with it is tested.

both samples use sntp to set the current time during start.

needs: #92110


# Use realtime for log timestamps
CONFIG_LOG_TIMESTAMP_USE_REALTIME=y
CONFIG_POSIX_C_LANG_SUPPORT_R=y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is interesting. I'm really hoping we can use the custom profile to make this the default in Zephyr. Consistence with both the coding guidelines and spec would be👌

add CONFIG_LOG_TIMESTAMP_USE_REALTIME to a sample,
so building with it is tested.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
@maass-hamburg maass-hamburg force-pushed the build_test_LOG_TIMESTAMP_USE_REALTIME branch from 38d4f75 to 85c45c5 Compare June 26, 2025 12:39
@sonarqubecloud
Copy link

@danieldegrasse danieldegrasse merged commit ab0c9b8 into zephyrproject-rtos:main Jun 26, 2025
43 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants