a4f422a801
As ESP32 has 2 I2C interfaces and BMP180 is a I2C sensor, the criterias to use BMP180 in I2C0 or I2C1 are: 1- First, bring-up routines search for BMP180 in I2C0. If BMP180 is found in I2C0, then /dev/press0 is created. 2- If BMP180 cannot be registered in I2C0, bring-up routines search for it in I2C1. If BMP180 is found in I2C1, then /dev/press0 is created. It means only one BMP180 could be suported in Nuttx. In my tests I've observed that BMP180 example application doesn't seem to work with /dev/press1 BMP180 device, therefore even BMP180 is found in I2C1, it'll be registered as /dev/press0 device. |
||
---|---|---|
.. | ||
common | ||
drivers | ||
esp32-devkitc | ||
esp32-ethernet-kit | ||
esp32-wrover-kit |