mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2025-07-04 20:36:52 +02:00
Add device tree overlay and ini entry for nrf52840_mdk
This commit is contained in:
parent
3bb569ccf4
commit
c554a89711
2 changed files with 31 additions and 0 deletions
14
zephyr/nrf52840_mdk.overlay
Normal file
14
zephyr/nrf52840_mdk.overlay
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
/ {
|
||||
buttons {
|
||||
compatible = "gpio-keys";
|
||||
button1: button_1 {
|
||||
gpios = <&gpio0 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
||||
label = "button1";
|
||||
};
|
||||
};
|
||||
aliases {
|
||||
sw1 = &button1;
|
||||
};
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue