mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
boards/nucleo-h743zi2: Enable up_perf API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
51ffa3edb0
commit
1f7b49d700
2 changed files with 5 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ CMN_CSRCS += arm_releasepending.c arm_releasestack.c arm_reprioritizertr.c
|
|||
CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_stackframe.c arm_svcall.c
|
||||
CMN_CSRCS += arm_systemreset.c arm_trigger_irq.c arm_udelay.c arm_unblocktask.c
|
||||
CMN_CSRCS += arm_usestack.c arm_vfork.c arm_switchcontext.c arm_puts.c
|
||||
CMN_CSRCS += arm_tcbinfo.c
|
||||
CMN_CSRCS += arm_tcbinfo.c arm_perf.c
|
||||
|
||||
ifeq ($(CONFIG_ARMV7M_SYSTICK),y)
|
||||
CMN_CSRCS += arm_systick.c
|
||||
|
|
|
|||
|
|
@ -50,6 +50,10 @@
|
|||
|
||||
void stm32_boardinitialize(void)
|
||||
{
|
||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
||||
up_perf_init((FAR void *)STM32_SYSCLK_FREQUENCY);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
/* Configure on-board LEDs if LED support has been selected. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue