23 lines
552 B
Plaintext
23 lines
552 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";
|
||
|
label = "EXAMPLESENSOR_0";
|
||
|
input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&gpioc {
|
||
|
status = "okay";
|
||
|
};
|