This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect SDK Tutorial - Part 3 | NCS v1.3.0 --> 1.2 Walkthrough for BME280 - gives compilation error

I am trying to repeat the example in the tutorial: using board: nrf9160dk_nrf9160.

nRF Connect SDK Tutorial - Part 3 | NCS v1.3.0 --> 1.2 Walkthrough for BME280 -  but gives compilation error

2> ../src/main.c:17:2: error: #error Your devicetree has no enabled nodes with compatible "bosch,bme280"

I couldn't figure out and can you help on how to resove this.

Thanks

Chandra

Parents
  • Hi,

     

     

    nrf9160dk_nrf9160.

     When configuring the project, did you select the board that corresponds to your overlay file?

    If the board is "nrf9160dk_nrf9160" then the overlay should be samples/my-app/nrf9160dk_nrf9160.overlay and contain the corresponding overlay settings for the sensor you're using.

     

    Could you please share your overlay file and which board you're configuring the project for, if it still doesn't work?

     

    Note: its normal to use the board nrf9160dk_nrf9160ns, as the modem can only communicate with an application in the non-secure region.

     

    Kind regards,

    Håkon

  • While choosing nRF Connect options --> Board Directory , I couldn't find find  nrf9160dk_nrf9160ns in  <SourcePath>/ncs/v1.3.0/zephyr/boards/arm. I could see only nrf9160dk_nrf9160.

    Can you help on how to choose nrf9160dk_nrf9160ns.

    Thanks

    Chandra

Reply Children
Related