From 86134461f3cec6e50ccd675287e9259a26f7c090 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 21 Aug 2023 09:52:50 +0200 Subject: [PATCH] arch/stm32h7: use STM32_CPUCLK_FREQUENCY to initialize perf --- arch/arm/src/stm32h7/stm32_start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32h7/stm32_start.c b/arch/arm/src/stm32h7/stm32_start.c index a4e7782fd5..f8f37257eb 100644 --- a/arch/arm/src/stm32h7/stm32_start.c +++ b/arch/arm/src/stm32h7/stm32_start.c @@ -247,7 +247,7 @@ void __start(void) showprogress('C'); #if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW) - up_perf_init((void *)STM32_SYSCLK_FREQUENCY); + up_perf_init((void *)STM32_CPUCLK_FREQUENCY); #endif /* Perform early serial initialization */