arch/stm32h7: use STM32_CPUCLK_FREQUENCY to initialize perf
This commit is contained in:
parent
4c358419f0
commit
86134461f3
@ -247,7 +247,7 @@ void __start(void)
|
|||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_CPUCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Perform early serial initialization */
|
/* Perform early serial initialization */
|
||||||
|
Loading…
Reference in New Issue
Block a user