summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/arm/imxrt/start/bspstarthooks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsps/arm/imxrt/start/bspstarthooks.c b/bsps/arm/imxrt/start/bspstarthooks.c
index 2b6b59f66b..b8149691e7 100644
--- a/bsps/arm/imxrt/start/bspstarthooks.c
+++ b/bsps/arm/imxrt/start/bspstarthooks.c
@@ -48,4 +48,7 @@ BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
/* Reduce frequency for I2C */
CLOCK_SetDiv(kCLOCK_Lpi2cDiv, 5);
+
+ /* Enable EDMA clock. We initialize the EDMA so we need the clock. */
+ CLOCK_EnableClock(kCLOCK_Dma);
}