Bme680 sensor license agreement spelling correction#1487
Merged
vrahane merged 8 commits intoapache:masterfrom Oct 29, 2018
Merged
Bme680 sensor license agreement spelling correction#1487vrahane merged 8 commits intoapache:masterfrom
vrahane merged 8 commits intoapache:masterfrom
Conversation
This adds support for the BME680 sensor to the mynewt sensor framework. The driver supports both I2C and SPI modes (NOTE: SPI not tested at time of commit). The syscfg file can be used to configure whether or not floating point compensation is used or not, and whether the output values use the standard mynewt sensor value types (found in temperature.h, pressure.h and humidity.h) or the Bosch definitions (using struct bme680_field_data in bme680_defs.h). The gas resistance output is either a float or a uin32_t, depending on whether floating point compensation is turned on or not. The sensor can be used standalone with this driver, but is ultimately designed to be used alongside the Bosch BSEC sensor fusion library for best performance (https://www.bosch-sensortec.com/bst/products/all_products/bsec). A mynewt module adding support for this library will be added at a later date. The sensor_creator code has been modified to include an off-board instance of the sensor using I2C0. This can be enabled usign the BME680_OFB syscfg value.
All internal functions have been declared static to avoid cluttering up the global namespace.
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.
No description provided.