Device.h : no such file or directory

Hi all,

I am new to using nordic, nrf connect. I started with establishing I2c communication between Zedf9p and actinius icarus(nrf52) but after buling the code it is exiting saying the following:

fatal error: device.h: No such file or directory
7 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.

I included the following in my code:

#include <device.h>
#include <devicetree.h>
#include <drivers/gpio.h>
#include <drivers/i2c.h>
#include <sys/printk.h>
#include <zephyr.h>
#include <stdio.h>
#include <math.h>
Generally this shouldnt cause an issue as this worked other codes and now I am stuck.
Any help will be appreciated.
Thanks
Parents Reply Children
Related