arch/nrf{52|53|91}: add support for up_perf

This commit is contained in:
raiden00pl 2023-09-28 09:33:28 +02:00 committed by Xiang Xiao
parent 4ea825ef9e
commit 20a65fa21b
3 changed files with 12 additions and 0 deletions

View File

@ -203,6 +203,10 @@ void __start(void)
nrf52_enable_profile(true);
#endif
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)BOARD_SYSTICK_CLOCK);
#endif
showprogress('D');
#ifdef USE_EARLYSERIALINIT

View File

@ -247,6 +247,10 @@ void __start(void)
nrf53_enable_profile(true);
#endif
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)BOARD_SYSTICK_CLOCK);
#endif
showprogress('D');
#ifdef USE_EARLYSERIALINIT

View File

@ -235,6 +235,10 @@ void __start(void)
nrf91_enable_profile(true);
#endif
#if defined(CONFIG_SCHED_IRQMONITOR) || defined(CONFIG_SEGGER_SYSVIEW)
up_perf_init((void *)BOARD_SYSTICK_CLOCK);
#endif
showprogress('D');
#ifdef USE_EARLYSERIALINIT