How to use I2C devices in (Apache) NuttX: Adding support for an I2C device in your board - Alan C Assis
Previously in this EmbeddedRelated article,
we saw how to
find an I2C device connected to your board using the i2ctool that is very familiar for people with previous experience with embedded Linux.
Today we will see how to add support to an I2C device (i.e. BMP280 sensor) in your board. So, lets to get started!
NuttX uses a very simple approach to interface with devices connected to the board: each board has a board bringup() function that is used to initialize the I2C bus and register/initializ...
Read more at embeddedrelated.com