summaryrefslogtreecommitdiff
path: root/ports/mimxrt/board_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/mimxrt/board_init.c')
-rw-r--r--ports/mimxrt/board_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/mimxrt/board_init.c b/ports/mimxrt/board_init.c
index 88de27ea7..0643da064 100644
--- a/ports/mimxrt/board_init.c
+++ b/ports/mimxrt/board_init.c
@@ -52,6 +52,9 @@ void board_init(void) {
SCB_EnableICache();
// Init clock
BOARD_BootClockRUN();
+ #if !defined(MIMXRT117x_SERIES)
+ CLOCK_SetMode(kCLOCK_ModeRun);
+ #endif
SystemCoreClockUpdate();
// Enable IOCON clock