This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 7403678db7645e3df36cb8fd29a18680ed7f8f2d
Author: raiden00pl <[email protected]>
AuthorDate: Sat Apr 2 13:43:39 2022 +0200

    boards/nucleo-f446re: initialize up_perf
---
 boards/arm/stm32/nucleo-f446re/src/stm32_boot.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boards/arm/stm32/nucleo-f446re/src/stm32_boot.c 
b/boards/arm/stm32/nucleo-f446re/src/stm32_boot.c
index 456de69..67c07f8 100644
--- a/boards/arm/stm32/nucleo-f446re/src/stm32_boot.c
+++ b/boards/arm/stm32/nucleo-f446re/src/stm32_boot.c
@@ -52,6 +52,10 @@
 
 void stm32_boardinitialize(void)
 {
+#ifdef CONFIG_SEGGER_SYSVIEW
+  up_perf_init((FAR void *)STM32_SYSCLK_FREQUENCY);
+#endif
+
 #ifdef CONFIG_ARCH_LEDS
   /* Configure on-board LEDs if LED support has been selected. */
 

Reply via email to