Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
for example mapping all the 16 gpio pins of a stm32 in my own `app.overlay`
will look something like this
/ {;
gpio_1: gpio_1 {
compatible = “gpio-keys”;
gpios =
label = ” GPIO no 1″;
};
};
/ {
zephyr,user {
pa0-gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
pa1-gpios = <&gpioa 1 GPIO_ACTIVE_HIGH>;
};
};
I did it like this
you will need to add a compatible
it is working without that
I don’t know how
but to make this work i have to keep this convention `name-gpios`
its basically superimposing on the existing GPIO
think so
I am trying now to read the device tree documentation of zephyr
CONTRIBUTE TO THIS THREAD