Skip to content

Commit 41129ab

Browse files
etienne-lmskartben
authored andcommitted
boards: st: fix STM32F2 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 <[email protected]>
1 parent c217fc4 commit 41129ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

boards/st/nucleo_f207zg/nucleo_f207zg.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@
2323

2424
leds: leds {
2525
compatible = "gpio-leds";
26+
2627
green_led_1: led_1 {
2728
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
2829
label = "User LD1";
2930
};
31+
3032
blue_led_1: led_2 {
3133
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
3234
label = "User LD2";
3335
};
36+
3437
red_led_1: led_3 {
3538
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
3639
label = "User LD3";
@@ -44,10 +47,12 @@
4447
pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
4548
label = "Green PWM LED";
4649
};
50+
4751
blue_pwm_led: led_pwm_2 {
4852
pwms = <&pwm4 2 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
4953
label = "Blue PWM LED";
5054
};
55+
5156
red_pwm_led: led_pwm_0 {
5257
pwms = <&pwm12 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
5358
label = "Red PWM LED";
@@ -56,6 +61,7 @@
5661

5762
gpio_keys {
5863
compatible = "gpio-keys";
64+
5965
user_button: button {
6066
label = "User";
6167
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;

0 commit comments

Comments
 (0)