Skip to content

Commit 98168eb

Browse files
kartbencfriedt
authored andcommitted
shields: arduino: Add support for Arduino Modulino Movement
Add shield definition and documentation for the Arduino Modulino Movement Signed-off-by: Benjamin Cabé <[email protected]>
1 parent c8e22ec commit 98168eb

File tree

5 files changed

+57
-0
lines changed

5 files changed

+57
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SHIELD_ARDUINO_MODULINO_MOVEMENT
5+
def_bool $(shields_list_contains,arduino_modulino_movement)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
accel0 = &arduino_modulino_movement;
9+
};
10+
};
11+
12+
&zephyr_i2c {
13+
arduino_modulino_movement: arduino-modulino-movement@6a {
14+
compatible = "st,lsm6dso";
15+
reg = <0x6a>;
16+
};
17+
};
32.2 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. _arduino_modulino_movement:
2+
3+
Arduino Modulino Movement
4+
#########################
5+
6+
Overview
7+
********
8+
9+
The Arduino Modulino Movement is a QWIIC compatible module with an ST Microelectronics LSM6DSOXTR
10+
6-axis IMU sensor.
11+
12+
See :dtcompatible:`st,lsm6dso` for more information on the settings available for this sensor.
13+
14+
.. image:: img/arduino_modulino_movement.webp
15+
:align: center
16+
:alt: Arduino Modulino Movement
17+
18+
Programming
19+
***********
20+
21+
Set ``--shield arduino_modulino_movement`` when you invoke ``west build``.
22+
23+
For example,
24+
25+
.. zephyr-app-commands::
26+
:zephyr-app: samples/sensor/accel_polling
27+
:board: arduino_uno_r4@wifi
28+
:shield: arduino_modulino_movement
29+
:goals: build
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
shield:
2+
name: arduino_modulino_movement
3+
full_name: Arduino Modulino Movement
4+
vendor: arduino
5+
supported_features:
6+
- sensor

0 commit comments

Comments
 (0)