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

Device Tree modification in SES

Hi, teams.

I am testing nRFConnect 1.5.0 with nRF52833DK.

I added nrf52833dk_nrf52833.overlay file to override the default device tree, and it works when I first open with popup window, or with "Open nRF Connect SDK project..." menu.

But, if I change some property by modifying the file contents in "dts files", it does not apply, and maintains the original value.

Only when I close the solution, and re-import with the above menu, it reflects the change.

How can I modify & apply device tree in SES environment?

  • Hi!

    When changing the configurations of your project (Kconfig, device tree, CMake, board, etc.), you need to use "Project -> Run CMake" or load the whole project again for these changes to be included in the build.

    The reason for this is that SES only does the configuration phase when you load the project. So if you make changes to the files used in the configuration phase, those changes aren't included until you run the phase again, either by loading the project again or using "Run CMake".

    Best regards,

    Heidi

Related