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.

Signed-off-by: Samuel MARTIN <[email protected]>
  • Loading branch information
smartin-vossloh committed Feb 5, 2024
1 parent 23d3e8f commit 0bf512a
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 0bf512a

Please sign in to comment.