arch/nrf{52|53|91}: add support for up_perf
This commit is contained in:
parent
4ea825ef9e
commit
20a65fa21b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user