How to add new i2c based sensor device to ncs\v1.3.0\zephyr\drivers\sensor.
Can you suggest any tutorial to do so as i want to use sensor subsystem which in turn uses i2c driver.
Thanks
Chandra
How to add new i2c based sensor device to ncs\v1.3.0\zephyr\drivers\sensor.
Can you suggest any tutorial to do so as i want to use sensor subsystem which in turn uses i2c driver.
Thanks
Chandra
I tried to look around but could not find any such guides. However I have provided an answer for this earlier, take a look at it here.
Down below I've provided a short guide how to add a custom sensor to Zephyr
add_subdirectory_ifdef(CONFIG_<name of sensor> <sensor directory>)
source "drivers/sensor/<sensor directory>/Kconfig"
Best regards,
Simon
Thanks for the info. will check and revert.
Thanks for the info. will check and revert.