Skip to content

Commit 853c022

Browse files
committed
app: overlay: add support for nucleo_stm32f413zh
Updating app to support more nucleo boards to help other's get started. Signed-off-by: James Walmsley <[email protected]> <!-- ps-id: d7fa6e3a-7de2-4bc2-8be3-dc04819fd99a -->
1 parent cd8915e commit 853c022

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

app/boards/nucleo_f413zh.overlay

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (c) 2021 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/* This devicetree overlay file will be automatically picked by the Zephyr
7+
* build system when building the sample for the nucleo_f413zh board. It shows
8+
* how the example-application can be built on sample boards already provided
9+
* by Zephyr.
10+
*/
11+
12+
/ {
13+
example_sensor: example-sensor {
14+
compatible = "zephyr,example-sensor";
15+
input-gpios = <&gpioc 13 (GPIO_ACTIVE_HIGH)>;
16+
};
17+
18+
blink_led: blink-led {
19+
compatible = "blink-gpio-led";
20+
led-gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
21+
blink-period-ms = <1000>;
22+
};
23+
};
24+
25+
&gpioc {
26+
status = "okay";
27+
};
28+
29+
&gpiob {
30+
status = "okay";
31+
};
32+
33+

0 commit comments

Comments
 (0)