You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/12/18 14:12:53 UTC
[GitHub] [mynewt-core] kasjer opened a new pull request #2445: sensor creator init split
kasjer opened a new pull request #2445:
URL: https://github.com/apache/mynewt-core/pull/2445
This solves the problem of sensor_creator usage along with SPI flash that is present in flash map.
If BSP uses SPI flash and sensor creator with SPI devices that are connected to the same
SPI bus as flash, not initializing chip select pin for those other devices may lead to wrong
reads from flash.
It happens when uninitialized yet GPIO is still perceived by sensor as active and sensor responds
to requests that should be answered by flash.
This adds sensor_dev_init() that has initialization code taken from sensor_dev_create().
Thai also changes flash_map initialization stage to accommodate for other initialization that
could be needed before flash_map can be initialized.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] kasjer merged pull request #2445: sensor creator init split
Posted by GitBox <gi...@apache.org>.
kasjer merged pull request #2445:
URL: https://github.com/apache/mynewt-core/pull/2445
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2445: sensor creator init split
Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2445:
URL: https://github.com/apache/mynewt-core/pull/2445#issuecomment-748105749
<!-- style-bot -->
## Style check summary
#### No suggestions at this time!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org