28 lines
656 B
Plaintext
28 lines
656 B
Plaintext
/*
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* This devicetree overlay file will be automatically picked by the Zephyr
|
|
* build system when building the sample for the nucleo_f302r8 board. It shows
|
|
* how the example-application can be built on sample boards already provided
|
|
* by Zephyr.
|
|
*/
|
|
|
|
/ {
|
|
example_sensor: example-sensor {
|
|
compatible = "zephyr,example-sensor";
|
|
input-gpios = <&gpio0 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
};
|
|
|
|
blink_led: blink-led {
|
|
compatible = "blink-gpio-led";
|
|
led-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
|
|
blink-period-ms = <500>;
|
|
};
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
};
|