Skip to content

Commit

Permalink
boards/shields: x-nucleo-iks4a1: add support to LIS2DUXS12
Browse files Browse the repository at this point in the history
Add 3-axis linear accelerometer LIS2DUXS12.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
  • Loading branch information
avisconti authored and kartben committed Dec 27, 2024
1 parent f9eceae commit e4628ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions boards/shields/x_nucleo_iks4a1/x_nucleo_iks4a1.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
magn0 = &lis2mdl_1e_x_nucleo_iks4a1;
accel0 = &lsm6dso16is_6a_x_nucleo_iks4a1;
accel1 = &lsm6dsv16x_6b_x_nucleo_iks4a1;
accel2 = &lis2duxs12_1e_x_nucleo_iks4a1;
press0 = &lps22df_5d_x_nucleo_iks4a1;
};
};
Expand Down Expand Up @@ -45,4 +46,11 @@
drdy-pulsed;
drdy-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 (PB10) */
};

lis2duxs12_1e_x_nucleo_iks4a1: lis2duxs12@19 {
compatible = "st,lis2duxs12";
reg = <0x19>;
int1-gpios = <&arduino_header 3 GPIO_ACTIVE_HIGH>; /* A3 */
};

};

0 comments on commit e4628ac

Please sign in to comment.