Skip to content

Commit

Permalink
mimxrt/boards: Re-generate MIMXRT1052 clock config files.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pi-anl committed Jan 31, 2025
1 parent 5e9f35f commit 06b15f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/mimxrt/board_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ void board_init(void) {
SCB_EnableICache();
// Init clock
BOARD_BootClockRUN();
#if FSL_CLOCK_DRIVER_VERSION >= MAKE_VERSION(2, 5, 1)
CLOCK_SetMode(kCLOCK_ModeRun);
#endif
SystemCoreClockUpdate();

// Enable IOCON clock
Expand Down

0 comments on commit 06b15f0

Please sign in to comment.