I2C example not working/build in nRF9160 using Zephyr RTOS

Hi Team,

I'm trying to build i2c example code with nRF9160 using Zephyr RTOS. But when i use "west build -p auto -b nrf9160dk_nrf9160 sample/drivers/i2c_fujitsu_fram" to build code that time it's not working and it's showing some errors.

And same code   was working for "nrf52dk_nrf52832" but not build for nrf9160. 

Can you help us to build  i2c example code for nrf9160 with Zephyr RTOS?

this is the command im using to build code: "C:\user\user\zephyrproject\zephyr> west build -p auto -b nrf9160dk_nrf9160  sample/drivers/i2c_fujitsu_fram"

Thank you,

Parents Reply Children
  • Hello qwertynoon,

    \zephyr\tests\drivers\i2c\i2c_tca954x\boards\nrf52840dk_nrf52840.overlay

    As you said i tried this  command to build

    "C:\Users\******\zephyrproject\zephyr>west build -p auto -b nrf9160dk_nrf9160 zephyr\tests\drivers\i2c\i2c_tca954x\boards\nrf52840dk_nrf52840.overlay"

    Then also  still i'm getting  this error:-

    ERROR: source directory zephyr\tests\drivers\i2c\i2c_tca954x\boards\nrf52840dk_nrf52840.overlay does not exist
    FATAL ERROR: refusing to proceed without --force due to above error.

Related