boards/lx_cpu: Enable up_perf API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
1f7b49d700
commit
c235c0fa43
@ -31,7 +31,7 @@ CMN_CSRCS += arm_releasestack.c arm_reprioritizertr.c arm_schedulesigaction.c
|
||||
CMN_CSRCS += arm_sigdeliver.c arm_stackframe.c arm_trigger_irq.c
|
||||
CMN_CSRCS += arm_unblocktask.c arm_usestack.c arm_doirq.c arm_hardfault.c
|
||||
CMN_CSRCS += arm_svcall.c arm_checkstack.c arm_vfork.c arm_switchcontext.c
|
||||
CMN_CSRCS += arm_systemreset.c arm_puts.c arm_tcbinfo.c
|
||||
CMN_CSRCS += arm_systemreset.c arm_puts.c arm_tcbinfo.c arm_perf.c
|
||||
|
||||
ifeq ($(CONFIG_SCHED_BACKTRACE),y)
|
||||
CMN_CSRCS += arm_backtrace_thumb.c
|
||||
|
@ -51,6 +51,10 @@
|
||||
|
||||
void lpc17_40_boardinitialize(void)
|
||||
{
|
||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
||||
up_perf_init((FAR void *)LPC17_40_CCLK);
|
||||
#endif
|
||||
|
||||
/* Initialize the EMC, and SDRAM */
|
||||
|
||||
#ifndef BOARD_EMC_CONFIG_BY_LOADER
|
||||
|
Loading…
Reference in New Issue
Block a user