Skip to content

Commit 2893a22

Browse files
committedMar 20, 2025
samples: boards: Add MCO support for nucleo_wl55jc
Added overlay and modified sample.yaml to support the nucleo_wl55jc board in the MCO example. Signed-off-by: Martdur <martin.durietz@gmail.com>
1 parent df61979 commit 2893a22

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright (c) 2025 STMicroelectronics
5+
*/
6+
7+
/* The clock that is output must be enabled. */
8+
&clk_lse
9+
{
10+
status = "okay";
11+
};
12+
13+
&mco1
14+
{
15+
status = "okay";
16+
clocks = <&rcc STM32_SRC_LSE MCO1_SEL(MCO_SEL_LSE)>;
17+
prescaler = <MCO1_PRE(MCO_PRE_DIV_1)>;
18+
pinctrl - 0 = <&rcc_mco_pa8>;
19+
pinctrl - names = "default";
20+
};

‎samples/boards/st/mco/sample.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tests:
99
- stm32f746g_disco
1010
- nucleo_u5a5zj_q
1111
- nucleo_wba55cg
12+
- nucleo_wl55jc
1213
integration_platforms:
1314
- stm32f746g_disco
1415
tags: board

0 commit comments

Comments
 (0)