Skip to content

Commit 6f162aa

Browse files
gmarullcarlescufi
authored andcommitted
app: boards: nucleo_f302r8: instantiate blink-gpio-led
Instantiate blink-gpio-led (uses board Green LED). Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent ac63bd1 commit 6f162aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/boards/nucleo_f302r8.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
compatible = "zephyr,example-sensor";
1515
input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
1616
};
17+
18+
blink_led: blink-led {
19+
compatible = "blink-gpio-led";
20+
led-gpios = <&gpiob 13 GPIO_ACTIVE_HIGH>;
21+
blink-period-ms = <1000>;
22+
};
1723
};
1824

1925
&gpioc {

0 commit comments

Comments
 (0)