How we minimised the changes when porting the Zephyr BME280 Driver to #NuttX OS
https://lupyuen.github.io/articles/bme280?18#zephyr-driver-modified-for-nuttx
What's inside our bundled BME280 Driver for #NuttX OS
https://lupyuen.github.io/articles/bme280?17#inside-the-bundle
Here's how we bundle the Zephyr BME280 Driver inside our #NuttX Driver
https://lupyuen.github.io/articles/bme280?16#bundle-nuttx-and-zephyr-drivers
Our #NuttX BME280 Driver registers the Barometer and Humidity Sensors at startup
https://lupyuen.github.io/articles/bme280?15#register-sensors
Our #NuttX BME280 Driver defines the operations for the Barometer and Humidity Sensors
https://lupyuen.github.io/articles/bme280?12#sensor-operations
Our #NuttX BME280 Driver combines 2 sensors ... Here's why
https://lupyuen.github.io/articles/bme280?11#combined-barometer-and-humidity-sensor
PSA: The Tow-Boot project (https://tow-boot.org) have just put out their 4th release, officially supporting the @PINE64 #PinePhone and #PinePhonePro: https://github.com/Tow-Boot/Tow-Boot/releases/tag/release-2021.10-004
If you're wondering what EBBR is: https://arm-software.github.io/ebbr/index.html#document-chapter2-uefi. Basically, Tow-Boot delivers UEFI on ARM and thus makes work for distributions a lot easier.
BME280 Standby Interval is configured by #NuttX at runtime ... Here's how we do it
https://lupyuen.github.io/articles/bme280?10#standby-interval
How our #NuttX BME280 Driver reads the Sensor Data from Zephyr BME280 Driver
https://lupyuen.github.io/articles/bme280?9#read-sensor-data-from-zephyr-driver
Here's why we port the BME280 Driver from Zephyr OS to Apache #NuttX OS
https://lupyuen.github.io/articles/bme280?7#port-bme280-driver-from-zephyr-os
Here's how we read the BMP280 Sensor on Apache #NuttX OS ... With the Sensor Test App
https://lupyuen.github.io/articles/bme280?6#run-sensor-test-app
#BL602 has a peculiar I2C Port ... It uses I2C Sub Addresses! Here's how we fix our #NuttX Driver
https://lupyuen.github.io/articles/bme280?5#set-i2c-sub-address
Apache #NuttX Driver for BMP280 fails to load on #BL602 ... Let's fix this 🤔
https://lupyuen.github.io/articles/bme280?4#invalid-device-id
Apache #NuttX OS doesn't have a BME280 Driver ... Let's tweak the BMP280 Driver to work with BME280
https://lupyuen.github.io/articles/bme280?3#start-with-bmp280-driver
Here's how we connect BME280 Sensor (Temperature / Humidity / Air Pressure) ... To PineCone #BL602 @PINE64
https://lupyuen.github.io/articles/bme280?2#test-and-connect-bme280
Our #NuttX BME280 Driver appears as 2 sensors: 1️⃣ "/dev/sensor/baro0" (Barometer Sensor) 2️⃣ "/dev/sensor/humi0" (Humidity Sensor) ... Here's how we read the Air Pressure, Temperature and Humidity
https://github.com/lupyuen/bme280-nuttx#combined-barometer-and-humidity-sensor
At #NuttX Startup we register both BME280 sensors: Barometer Sensor and Humidity Sensor
https://github.com/lupyuen/bme280-nuttx#combined-barometer-and-humidity-sensor
Each #NuttX Sensor defines its operations for 1️⃣ Activating the sensor 2️⃣ Fetching sensor data 3️⃣ Setting the standby interval
https://github.com/lupyuen/bme280-nuttx#combined-barometer-and-humidity-sensor
IoT Techie and Educator / Apache NuttX PMC