Skip to content

Conversation

JordanYates
Copy link
Contributor

IMU driver for the Bosch Sensortec BMA400 low power accelerometer.

Slightly optimise the register read process by including the dummy byte
in the address write array. This prevents the SPI driver needing to
wake up between the address byte and the dummy byte.

Signed-off-by: Jordan Yates <[email protected]>
IMU driver for the Bosch Sensortec BMA400 low power accelerometer.

Signed-off-by: Jordan Yates <[email protected]>
Validate the `bma4xx` driver compiles in the build_all test.

Signed-off-by: Jordan Yates <[email protected]>
Update the IMU validation logic to support accelerometer only devices.

Signed-off-by: Jordan Yates <[email protected]>
When channels aren't supported, override the return code to `0` so that
the validation passes.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.80%. Comparing base (3bb8764) to head (6ed3e1c).
Report is 22 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #278      +/-   ##
==========================================
- Coverage   91.31%   90.80%   -0.52%     
==========================================
  Files         107      107              
  Lines        4146     4185      +39     
  Branches      655      661       +6     
==========================================
+ Hits         3786     3800      +14     
- Misses        194      201       +7     
- Partials      166      184      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JordanYates JordanYates merged commit 32f7cd5 into main Oct 10, 2024
11 checks passed
@JordanYates JordanYates deleted the feature/bma400 branch October 10, 2024 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant