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

NCS SDK: Devicetree overlay not recognized since v1.8.0

Hello everyone,

I am working on a project based on nRF Connect SDK v1.7.1 that I want to move to the new SDK v1.8.0. But I'm experiencing problems when building the project. It seems like CMake is no longer recognizing the devicetree overlay that I created for the nrf52840dk_nrf52840 development kit in the boards directory. I can workaround this by manually adding the CMake option -DTC_OVERLAY_FILE=file.overlay.

According to the Zephyr documentation this overlay should still be included by CMake. (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/dts/howtos.html#set-devicetree-overlays)

Is this a bug or has something changed in the SDK that I didn't catch that could cause this behaviour?

My project structure looks like this:

CMakeLists.txt
Kconfig
boards:
  -> nrf52840dk_nrf52840.overlay
configuration:
  -> nrf52840dk_nrf52840:
       -> prj.conf
       -> prj_release.conf
src:
  -> main.c
  -> modules:
       -> CMakeLists.txt
       -> Kconfig
       -> module.c
  -> events:
       -> CMakeLists.txt
       -> event.c
       -> event.h
       -> Kconfig

Thanks in advance!
    

Related