Add support for BMP388 barometer #13190
Merged
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.
Describe problem solved by this pull request
Originally this was submitted here: #13128
It was recommended to issue this PR directly on master instead of the v5x branch as this driver is needed by an upcoming PR for 'modalai_fmu-v5m' BSP.
Describe your solution
Flight tested using the I2C interface. Our HW doesn't have the SPI interface so this has been left in but is 'untested'. The noise and update rates were compared to a Pixhawk 4 Mini and it's comparable if not less noisy.
Describe possible alternatives
NA
Test data / coverage
We have been flight testing this with our hardware for the last months. Recently made some measurement improvements by oversampling and altitude hold is stable.
Additional context
#13128
If this merges to master, I'd suggest getting rid of these stale branches:
https://github.com/PX4/Firmware/commits/pr-bmp388
https://github.com/PX4/Firmware/commits/pr-bmp388_initial