Skip to content

Commit 0e8069e

Browse files
etienne-lmskartben
authored andcommitted
boards: st: fix STM32WBA boards DTS files coding style
Fix board DTS coding style issues to prevent they spread when a new board is introduced and used this DTS as example start point. Issues addressed from Zephyr devicetree style guidelines [1]: - Insert a single empty line to separate nodes at the same hierarchy level. No functional change. Link: https://docs.zephyrproject.org/latest/contribute/style/devicetree.html [1] Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent 84add0d commit 0e8069e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

boards/st/nucleo_wba55cg/nucleo_wba55cg.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@
2929

3030
leds: leds {
3131
compatible = "gpio-leds";
32+
3233
blue_led_1: led_0 {
3334
gpios = <&gpiob 4 GPIO_ACTIVE_LOW>;
3435
label = "User LD1";
3536
};
37+
3638
green_led_2: led_1 {
3739
gpios = <&gpioa 9 GPIO_ACTIVE_LOW>;
3840
label = "User LD2";
3941
};
42+
4043
red_led_3: led_2 {
4144
gpios = <&gpiob 8 GPIO_ACTIVE_LOW>;
4245
label = "User LD3";
@@ -53,16 +56,19 @@
5356

5457
gpio_keys {
5558
compatible = "gpio-keys";
59+
5660
user_button_1: button_0 {
5761
label = "User B1";
5862
gpios = <&gpioc 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
5963
zephyr,code = <INPUT_KEY_0>;
6064
};
65+
6166
user_button_2: button_1 {
6267
label = "User B2";
6368
gpios = <&gpiob 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
6469
zephyr,code = <INPUT_KEY_1>;
6570
};
71+
6672
user_button_3: button_2 {
6773
label = "User B3";
6874
gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
@@ -206,14 +212,17 @@ stm32_lp_tick_source: &lptim1 {
206212
label = "mcuboot";
207213
reg = <0x00000000 DT_SIZE_K(64)>;
208214
};
215+
209216
slot0_partition: partition@10000 {
210217
label = "image-0";
211218
reg = <0x00010000 DT_SIZE_K(456)>;
212219
};
220+
213221
slot1_partition: partition@82000 {
214222
label = "image-1";
215223
reg = <0x00082000 DT_SIZE_K(448)>;
216224
};
225+
217226
storage_partition: partition@f2000 {
218227
label = "storage";
219228
reg = <0x000f2000 DT_SIZE_K(56)>;

0 commit comments

Comments
 (0)