This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NCS1.9.1, i2c_api can't bulid

Hello,

NCS1.9.1,  Windows10 X64,nRF5340-DK

D:\v1.9.1\zephyr\tests\drivers\i2c\i2c_api.  default codes,

in file prj.conf   

CONFIG_I2C=y

build error.

file app.overlay

   or  

  

thanks 

Best Regards

Parents Reply
  • Hi,

    The overlay file should be named as <boad name>.overlay. So in your case, it should be nrf5240dk_nrf5340_cpuapp.overlay

    Also, since the i2c1 is already enabled and you are using the default pins, you do not have to enter them again in the overlay file. But since the name in the program is not i2c1, an alias to this should be given in the overlay.

    Regards,

    Priyanka

Children
Related