Skip to content

Commit

Permalink
zephyr: main.c: Print the HW clock speed at boot
Browse files Browse the repository at this point in the history
Dump the HW clock speed at start-up.
  • Loading branch information
smartin-vossloh committed Feb 5, 2024
1 parent a77510c commit 4b81cc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot/zephyr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ void main(void)

(void)rc;

BOOT_LOG_INF("HW clock : %dMHz", CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC / 1000000);
#ifdef SIGNATURE_KEY
BOOT_LOG_INF("Sign. key: " SIGNATURE_KEY);
#endif
Expand Down

0 comments on commit 4b81cc8

Please sign in to comment.