stm32: initialize perf counter if sytemview enabled

This commit is contained in:
raiden00pl 2023-08-02 11:27:05 +02:00 committed by Xiang Xiao
parent 3fb378a54d
commit 1d858ec03f
9 changed files with 9 additions and 9 deletions

View File

@ -158,7 +158,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -115,7 +115,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -245,7 +245,7 @@ void __start(void)
up_enable_dcache();
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -246,7 +246,7 @@ void __start(void)
up_enable_dcache();
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -179,7 +179,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -181,7 +181,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -181,7 +181,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -199,7 +199,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif

View File

@ -183,7 +183,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_SCHED_IRQMONITOR
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif