zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.92k stars 6.65k forks source link

samples: boards: Add support for nucleo_wba55cg board #81726

Open lkoudelka opened 23 hours ago

lkoudelka commented 23 hours ago

run mco example also with nucleo_wba55cg board due to gpio conflict uart print out not functional

Signed-off-by:Lubos Koudelka lubos.koudelka@st.com

FRASTM commented 3 hours ago

suggestion

diff --git a/samples/boards/st/mco/sample.yaml b/samples/boards/st/mco/sample.yaml
index bf8a97cad2a..ae76926f4ea 100644
--- a/samples/boards/st/mco/sample.yaml
+++ b/samples/boards/st/mco/sample.yaml
@@ -2,5 +2,5 @@ sample:
   name: STM32 microcontroller clock output (MCO) example
 tests:
   sample.board.stm32.mco:
-    platform_allow: nucleo_u5a5zj_q stm32f746g_disco
+    platform_allow: nucleo_u5a5zj_q stm32f746g_disco nucleo_wba55cg
     tags: board
FRASTM commented 3 hours ago

If your purpose is to output the LSE clock, could it be the LSCO Slow clock output (on PA2) in order to keep the UART1 for console ? Of course, for testing the MCO waveform only, no need for more than PA8, you can disabled the usart1 RX