29fbd1ede8
Devicetree label property has been deprecated, so remove its usage. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
22 lines
523 B
Plaintext
22 lines
523 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.
|
|
*/
|
|
|
|
/ {
|
|
examplesensor0: examplesensor_0 {
|
|
compatible = "zephyr,examplesensor";
|
|
input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
};
|
|
};
|
|
|
|
&gpioc {
|
|
status = "okay";
|
|
};
|