8000 mimxrt/boards: Re-generate MIMXRT1052 clock config files. · micropython/micropython@8d2ea2d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d2ea2d

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 <andrew.leech@planetinnovation.com.au>
1 parent 5e9f35f commit 8d2ea2d

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 !defined(MIMXRT117x_SERIES)
5556
CLOCK_SetMode(kCLOCK_ModeRun);
57+
#endif
5658
SystemCoreClockUpdate();
5759

5860
// Enable IOCON clock

0 commit comments

Comments
 (0)
0