In nRF Connect SDK, an application has a number of different elements that are used by the build system in some way to create the final runnable file. Understanding these elements, why they are needed, and how they interact with each other is crucial when creating your own application. In this lesson, we will explore each of these elements to understand how they all function in relation to each other. In the exercise portion, we will create a minimal working application from scratch and add our own custom files and configurations to customize the application.
app/
|-- CMakeLists.txt
|-- Kconfig
|-- prj.conf
|-- <board_name>.overlay
|-- src/
|-- main.c
File structure