You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2022/04/02 13:34:43 UTC

[incubator-nuttx] branch master updated (26ab4e9 -> 7403678)

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

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


    from 26ab4e9  mod_insmod: fix coverity warning
     new b487101  stm32: add support for up_perf
     new 7403678  boards/nucleo-f446re: initialize up_perf

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 arch/arm/src/stm32/Make.defs                    | 2 +-
 boards/arm/stm32/nucleo-f446re/src/stm32_boot.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

[incubator-nuttx] 01/02: stm32: add support for up_perf

Posted by ac...@apache.org.
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 b487101b879c2d071c4517c0e4b5c077e2762e66
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sat Apr 2 13:42:51 2022 +0200

    stm32: add support for up_perf
---
 arch/arm/src/stm32/Make.defs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32/Make.defs b/arch/arm/src/stm32/Make.defs
index c80705c..2973cf5 100644
--- a/arch/arm/src/stm32/Make.defs
+++ b/arch/arm/src/stm32/Make.defs
@@ -29,7 +29,7 @@ CMN_CSRCS += arm_releasestack.c arm_reprioritizertr.c arm_schedulesigaction.c
 CMN_CSRCS += arm_sigdeliver.c arm_stackframe.c arm_svcall.c arm_systemreset.c
 CMN_CSRCS += arm_trigger_irq.c arm_unblocktask.c arm_udelay.c arm_usestack.c
 CMN_CSRCS += arm_doirq.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_STM32_TICKLESS_SYSTICK),y)
 CMN_CSRCS += arm_systick.c

[incubator-nuttx] 02/02: boards/nucleo-f446re: initialize up_perf

Posted by ac...@apache.org.
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 <ra...@railab.me>
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. */