Adding source files

Getting started with nRF5 SDK and SES (nRF51 & nRF52 Series)

All source files that are part of the application you are developing must be added to the project.

You can add existing files or create files in the project directory.
  • To add an existing file, right-click your project or any subfolder in the Project Explorer and select Add Existing File. Browse to the file that you want to import and open it.
    The original file is not copied into the project, but it is included from its original location. That means that any modifications that you do will apply to all projects that use this file.
  • To create a file, right-click your project or any subfolder in the Project Explorer and select Add New File.
    By default, the file is created in the project directory.