Fatal Error while building peripheral UART example.

Hi,

I'm trying to test the peripheral UART example in the nRF connect SDK in the nrf52810 dk. I've built the configurations as prj_minimal.conf as mentioned in the Document. but I'm getting Fatal error uart_async_adapter.h:22:10: fatal error: zephyr/device.h: No such file or directory 22 | #include <zephyr/device.h>.

How can I solve it? Thanks in advance. 

Parents Reply
  • Hi Naeem, 

    I've removed the existing SDK and installed the latest v2.3.0 sdk. Then I created a new application "Peripheral UART" and build the configuration with pjr_minimal.conf because I want it as nrf52810 in my nrf52832 DK. I've flashed the program in my DK but I can't see any LED blinking nor It is advertising. I've opened the serial port and it is continuously printing the "Starting Nordic UART service example" message.

    Please help me with it. Thanks in advance. 

Children
Related