Initial commit: Set up Zephyr MQTT project
This commit is contained in:
13
boards/native_sim.overlay
Normal file
13
boards/native_sim.overlay
Normal file
@@ -0,0 +1,13 @@
|
||||
/ {
|
||||
switches {
|
||||
compatible = "gpio-keys";
|
||||
sw0: switch_0 {
|
||||
label = "User switch";
|
||||
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
switch0 = &sw0;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user