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

Problem with adding files to NCS projects

I am developing with NCS, but I found only one project "v1.4.99-dev1\nrf\samples\bluetooth\peripheral_lbs" I can add files directly through the option "Add new file to cmakelist.txt". This is shown in the image below.

Other projects do not have such an option。


What can I do to add files to the project like above?

Parents
  • Hi,

    I see the same on my setup, but I'm not sure what cause the options to appear. I will have to check internally if anyone knows this, or possibly check with Segger about the requirements for these options to appear.

    In the meantime, you can check what the features does for the projects where you have the buttons available, and then do the necessary changes to the CMakeLists.txt fil manually.

    Best regards,
    Jørgen

Reply
  • Hi,

    I see the same on my setup, but I'm not sure what cause the options to appear. I will have to check internally if anyone knows this, or possibly check with Segger about the requirements for these options to appear.

    In the meantime, you can check what the features does for the projects where you have the buttons available, and then do the necessary changes to the CMakeLists.txt fil manually.

    Best regards,
    Jørgen

Children
No Data
Related