Feedback
Feedback

If you are having issues with the exercises, please create a ticket on DevZone: devzone.nordicsemi.com
Click or drag files to this area to upload. You can upload up to 2 files.

Lesson 3 – Elements of an nRF Connect SDK application

Overview

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

Objectives

  • Understand the use of Kconfig configuration files to enable and configure the different software modules available in the nRF Connect SDK
  • Examine an application configuration file and a board configuration file and understand the relation between them
  • Learn how to explore the available configuration options of a certain software module using nRF Kconfig GUI
  • Understand multi-image builds, and how a child-image is added to your application
  • Practice through hands-on exercises how to create an application from scratch, and how to add modules using Kconfig and modify the devicetree
Register an account
Already have an account? Log in
(All fields are required unless specified optional)

  • 8 or more characters
  • Upper and lower case letters
  • At least one number or special character

Forgot your password?
Enter the email associated with your account, and we will send you a link to reset your password.