stm32: initialize perf counter if sytemview enabled
This commit is contained in:
parent
3fb378a54d
commit
1d858ec03f
@ -158,7 +158,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -245,7 +245,7 @@ void __start(void)
|
|||||||
up_enable_dcache();
|
up_enable_dcache();
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ void __start(void)
|
|||||||
up_enable_dcache();
|
up_enable_dcache();
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ void __start(void)
|
|||||||
|
|
||||||
showprogress('C');
|
showprogress('C');
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
|
||||||
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user