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
  • Hello

    sorry,i've forget it;

    app.overlay

    &uart1 {
    	status = "disabled";
    };
    
    &i2c1 {
    	status = "okay";
    	label = "i2c_1";
    	sda-pin = < 0x22 >;
    	scl-pin = < 0x23 >;
    };
    
    &i2s0 {
    	status = "okay";
    	sck-pin = <37>;
    	lrck-pin = <36>;
    	sdout-pin = <33>;
    	sdin-pin = <32>;
    };
    

    thanks 

    Best Regards

Children
Related