Skip to content

Commit 75fb6bd

Browse files
Tim-Wang38liugang-gavin
authored andcommitted
targets:clock: Update the coreclock value
Update the coreclock value which will be used in middleware Signed-off-by: timwang <tim.wang@nxp.com>
1 parent 6ff29c9 commit 75fb6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/TARGET_EVK/fsl_clock_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,5 +467,5 @@ void BOARD_BootClockRUN(void)
467467
/* Set GPT2 High frequency reference clock source. */
468468
IOMUXC_GPR->GPR5 &= ~IOMUXC_GPR_GPR5_VREF_1M_CLK_GPT2_MASK;
469469
/* Set SystemCoreClock variable. */
470-
SystemCoreClock = BOARD_BOOTCLOCKRUN_CORE_CLOCK;
470+
SystemCoreClock = CLOCK_GetCpuClkFreq();
471471
}

0 commit comments

Comments
 (0)