Skip to content

Conversation

pyhys
Copy link
Contributor

@pyhys pyhys commented Aug 9, 2025

Add the Adafruit LIS3DH I2C accelerometer shield.
The picture is from the Adafruit product page.

@zephyrbot zephyrbot added the area: Shields Shields (add-on boards) label Aug 9, 2025
Copy link
Contributor

@JarmouniA JarmouniA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add

- platform:adafruit_qt_py_rp2040:SHIELD=adafruit_lis3dh

in

extra_args: EXTRA_CONF_FILE=sensors_die_temp.conf

so that the shield gets checked in CI.

Edit: not sure if that is going to work, or if it's the right place for it.

@JarmouniA JarmouniA added the area: Sensors Sensors label Aug 9, 2025
@pyhys
Copy link
Contributor Author

pyhys commented Aug 11, 2025

@JarmouniA I do not find any other references to shields in that file?

@JarmouniA
Copy link
Contributor

@JarmouniA I do not find any other references to shields in that file?

Yeah, I believe it's only done for display shields for now, see


Would be good to have the same for other types of shields as well.

Add the Adafruit LIS3DH I2C accelerometer shield.
The picture is from the Adafruit product page.

Signed-off-by: Jonas Berg <[email protected]>
Copy link

@pyhys
Copy link
Contributor Author

pyhys commented Aug 17, 2025

@JarmouniA I did add the test for the shield to a sample that actually uses the accelerometer.

@@ -59,3 +59,9 @@ tests:
- SNIPPET="rtt-tracing;rtt-console"
platform_allow:
- apard32690/max32690/m4
sample.sensor.accel_polling.shields:
build_only: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
build_only: true

@kartben kartben requested a review from JarmouniA August 19, 2025 16:15
@kartben kartben merged commit 016f455 into zephyrproject-rtos:main Aug 19, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Samples Samples area: Sensors Sensors area: Shields Shields (add-on boards)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants