You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/08/19 05:14:48 UTC
[GitHub] [incubator-nuttx] SPRESENSE opened a new pull request #4370: drivers/sensors/bmp280.c: Correct bmp280 driver
SPRESENSE opened a new pull request #4370:
URL: https://github.com/apache/incubator-nuttx/pull/4370
## Summary
There were some mistakes in porting to the common sensors, and they
caused the following problems.
- Hardfault by bmp280_set_interval
- Read data always zero
## Impact
bmp280 driver only
## Testing
In CONFIG_TESTING_SENSORTEST=y, verify that bmp280 sensor works well.
```
nsh> sensortest -n 10 baro0
SensorTest: Test /dev/sensor/baro0 with interval(1000000us), latency(0us)
baro0: timestamp:47994323 value1:1008.28 value2:26.54
baro0: timestamp:47994873 value1:1008.28 value2:26.54
baro0: timestamp:47995422 value1:1008.28 value2:26.54
baro0: timestamp:47996002 value1:1008.28 value2:26.54
baro0: timestamp:47996551 value1:1008.28 value2:26.54
baro0: timestamp:47997100 value1:1008.28 value2:26.54
baro0: timestamp:47997650 value1:1008.28 value2:26.54
baro0: timestamp:47998230 value1:1008.28 value2:26.54
baro0: timestamp:47998779 value1:1008.28 value2:26.54
baro0: timestamp:47999328 value1:1008.28 value2:26.54
SensorTest: Received message: baro0, number:10/10
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #4370: drivers/sensors/bmp280.c: Correct bmp280 driver
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #4370:
URL: https://github.com/apache/incubator-nuttx/pull/4370
--
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.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org