Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] bmp388 - cleanup, removal of ioctl #12694

Merged
merged 2 commits into from
Aug 15, 2019
Merged

[WIP] bmp388 - cleanup, removal of ioctl #12694

merged 2 commits into from
Aug 15, 2019

Conversation

modaltb
Copy link
Contributor

@modaltb modaltb commented Aug 13, 2019

Describe problem solved by the proposed pull request
Further work on support for bmp388 barometer. This PR consists of some cleanup, the CLI portion of the driver is pulled to bmp388_main.cpp, the ioctl usage is totally removed, and some other small updates. It should now run as expected when launched at startup and publish data.

Test data / coverage
This has been in test on our "FMU v5m" board (which is variant of the v5x). It's on an I2C bus, and pressure/temperature data has been reliably been publishing. The driver looks stable to me, but more real world testing is obviously needed.

Data has been confirmed via nsh and in QGC's analyze feature.

NOTE: ONLY THE I2C INTERFACE HAS BEEN TESTED.

Describe your preferred solution
N/A

Describe possible alternatives
N/A

Additional context
Add any other related context or media.

@modaltb
Copy link
Contributor Author

modaltb commented Aug 13, 2019

@davids5 as discussed, small update in case it helps your efforts!

@julianoes julianoes added the Drivers 🔧 Sensors, Actuators, etc label Aug 14, 2019
@davids5 davids5 merged commit d7961da into PX4:master_v5x_sensors Aug 15, 2019
@davids5
Copy link
Member

davids5 commented Aug 15, 2019

@modaltb - thank you!

davids5 pushed a commit that referenced this pull request Aug 16, 2019
* [WIP] bmp388 cleanup, removal of ioctl

* [WIP] bmp388 - fix issue with build error with SPI
davids5 pushed a commit that referenced this pull request Aug 17, 2019
* [WIP] bmp388 cleanup, removal of ioctl

* [WIP] bmp388 - fix issue with build error with SPI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Drivers 🔧 Sensors, Actuators, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants