Moved yaml, added west, added boards

This commit is contained in:
2025-07-09 12:06:21 +02:00
parent 7dc1430aa5
commit 6ec5b1e8a2
4 changed files with 104 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
/*
* Devicetree overlay for VND7050AJ on weact_stm32g431_core
*/
/ {
aliases {
vnd7050aj = &vnd7050aj;
};
vnd7050aj: vnd7050aj {
compatible = "st,vnd7050aj";
status = "okay";
input0-gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
input1-gpios = <&gpiob 9 GPIO_ACTIVE_HIGH>;
select0-gpios = <&gpiob 6 GPIO_ACTIVE_HIGH>;
select1-gpios = <&gpiob 5 GPIO_ACTIVE_HIGH>;
sense-enable-gpios = <&gpiob 4 GPIO_ACTIVE_HIGH>;
fault-reset-gpios = <&gpiob 3 GPIO_ACTIVE_LOW>;
io-channels = <&adc1 1>;
r-sense-ohms = <1500>;
};
};
&adc1 {
status = "okay";
};