Cant find .Overlay file in vs code.

Hi Everyone,

Happy New year in Advance.

I have added <project_name>.overlay file in project/src folder. as per instructions in https://docs.zephyrproject.org/latest/guides/dts/howtos.html#set-devicetree-overlays

Here I can't see the .overlay file in devicetree option under build.

From the instructions its clear that I just have to add .overlay file with project name, which I did. Please help me to figure out what went wrong.

Parents
  • Hi Viswa,

    In order to add the .overlay file, you should provide the name as <BOARD_NAME>.overlay, which is also mentioned here. Hence, if you are using a nrf5340DK, the overlay file's name will be nrf5340dk_nrf5340.overlay. This overlay file should then be placed inside the project folder. You can also create a file called 'boards' inside the project folder where you can create different overlays for various board types.

    Regards,

    Priyanka

Reply
  • Hi Viswa,

    In order to add the .overlay file, you should provide the name as <BOARD_NAME>.overlay, which is also mentioned here. Hence, if you are using a nrf5340DK, the overlay file's name will be nrf5340dk_nrf5340.overlay. This overlay file should then be placed inside the project folder. You can also create a file called 'boards' inside the project folder where you can create different overlays for various board types.

    Regards,

    Priyanka

Children
Related