rcsim opened a new pull request, #16146:
URL: https://github.com/apache/nuttx/pull/16146

   ## Summary
   
   This commit adds support for the BMP180 sensor on the STM32F401RC-RS485 
board and updates the board documentation accordingly. It also enables the 
BMP180 UORB driver in the STM32 common logic.
   
   ## Impact
   
     * Is new feature added? Is existing feature changed? Yes, Added BMP180 
support to STM32F401RC-RS485 and
     BMP180 UORB driver in the STM32 common logic. 
     * Impact on user (will user need to adapt to change)? Yes, users will be 
able to user BMP180 on STM32F401RC-RS485
     *  and BMP180 UORB on other STM32 boards.
     * Impact on build (will build process change)? No
     * Impact on hardware (will arch(s) / board(s) / driver(s) change)? Yes, 
STM32F401RC-RS485  and STM32 Common.
     * Impact on documentation (is update required / provided)? Yes, 
STM32F401RC-RS485 was updated.
     * Impact on security (any sort of implications)? No.
     * Impact on compatibility (backward/forward/interoperability)? No
   
   
   ## Testing
   The test was done using two configurations:
   
   Regular Driver:
   CONFIG_ARCH_BOARD_COMMON=y
   CONFIG_STM32_I2C1=y
   CONFIG_EXAMPLES_BMP180=y
   CONFIG_SENSORS=y
   CONFIG_SENSORS_BMP180=y
   
   ```
   NuttShell (NSH) NuttX-12.8.0
   nsh> bmp180
   Pressure value = 93592
   Pressure value = 93591
   Pressure value = 93595
   ```
   
   UORB Driver: 
   CONFIG_ARCH_BOARD_COMMON=y
   CONFIG_STM32_I2C1=y
   CONFIG_LIBC_FLOATINGPOINT=y
   CONFIG_SENSORS=y
   CONFIG_SENSORS_BMP180=y
   CONFIG_SENSORS_BMP180_UORB=y
   CONFIG_SYSTEM_SENSORTEST=y
   CONFIG_SYSTEM_SENSORTEST_PROGNAME="sensor"
   CONFIG_SCHED_WORKQUEUE=y
   CONFIG_SCHED_LPWORK=y
   
   ```
   NuttShell (NSH) NuttX-12.8.0
   nsh> sensor baro0
   SensorTest: Test /dev/uorb/sensor_baro0 with interval(1000000us), 
latency(0us)
   baro0: timestamp:2170620000 value1:935.92 value2:224.00
   baro0: timestamp:2171630000 value1:935.92 value2:224.00
   baro0: timestamp:2172640000 value1:935.89 value2:224.00
   ```
   
   
   
   


-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to