Skip to content

Commit ac63bd1

Browse files
gmarullcarlescufi
authored andcommitted
boards: custom_plank: instantiate blink-gpio-led
Define an instance of a blink-gpio-led. Since custom_plank is in reality a nRF52840DK, this uses LED0 as the blink-gpio-led. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 3ac971b commit ac63bd1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

boards/vendor/custom_plank/custom_plank.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
compatible = "zephyr,example-sensor";
2222
input-gpios = <&gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
2323
};
24+
25+
blink_led: blink-led {
26+
compatible = "blink-gpio-led";
27+
led-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
28+
blink-period-ms = <1000>;
29+
};
2430
};
2531

2632
&uicr {

0 commit comments

Comments
 (0)