Skip to content

Commit 06b15f0

Browse files
committed
mimxrt/boards: Re-generate MIMXRT1052 clock config files.
These were regenerated by the NXP Config tool for v2.11. The board_init update was needed to ensure CLOCK_SetMode() is run at the appropriate time during startup. Signed-off-by: Andrew Leech <[email protected]>
1 parent 5e9f35f commit 06b15f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/mimxrt/board_init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ void board_init(void) {
5252
SCB_EnableICache();
5353
// Init clock
5454
BOARD_BootClockRUN();
55+
#if FSL_CLOCK_DRIVER_VERSION >= MAKE_VERSION(2, 5, 1)
5556
CLOCK_SetMode(kCLOCK_ModeRun);
57+
#endif
5658
SystemCoreClockUpdate();
5759

5860
// Enable IOCON clock

0 commit comments

Comments
 (0)