Moved yaml, added west, added boards
This commit is contained in:
27
boards/weact_stm32g431_core.overlay
Normal file
27
boards/weact_stm32g431_core.overlay
Normal 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";
|
||||
};
|
||||
Reference in New Issue
Block a user