[andino_firmware] Add IMU HAL interface to decouple App from Adafruit BNO055 - #335
Open
jballoffet wants to merge 1 commit into
Open
[andino_firmware] Add IMU HAL interface to decouple App from Adafruit BNO055#335jballoffet wants to merge 1 commit into
jballoffet wants to merge 1 commit into
Conversation
Signed-off-by: Javier Balloffet <javier.balloffet@gmail.com>
jballoffet
force-pushed
the
jballoffet/chore/add-imu-hal-interface
branch
from
August 15, 2026 18:02
10d9143 to
6f5805f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎉 New feature
Summary
This PR adds Imu HAL interface (include/andino/hal/imu.h) along with ImuAdafruitBno055Arduino (include/andino/bsp/imu_adafruit_bno055_arduino.h / src/bsp/imu_adafruit_bno055_arduino.cpp), the concrete Arduino implementation backed by an Adafruit BNO055 sensor. The Adafruit_BNO055 instance is constructed internally as a file-scope static (g_bno055_imu), so the class is default-constructible and callers never need to know about the underlying sensor object.
Test it
Checklist
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-bymessages.