This section demonstrates how to add support for a new sensor to the environmental module. The environmental module is updated to sample data from the sensor through the Zephyr Sensor API, and the data is forwarded to nRF Cloud together with the existing environmental data.
In this example, support for the Bosch BMM350 magnetometer is added. A similar procedure applies to any sensor that supports the Zephyr Sensor API.
The Thingy:91 X is used as the example board, as it is a supported board in the template with board files defined in the nRF Connect SDK.