zephyr_ha_mqtt_sample/boards/native_sim.overlay

14 lines
174 B
Plaintext

/ {
switches {
compatible = "gpio-keys";
sw0: switch_0 {
label = "User switch";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
aliases {
switch0 = &sw0;
};
};