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 – Adding custom board support

In the context of nRF Connect SDK/Zephyr, a board definition refers to configuration and initialization files that define the hardware characteristics and behavior of a specific development board or hardware platform.

nRF Connect SDK comes with support for a large number of boards (Development Kits, Prototyping Platforms, and Reference Designs), and it also offers the flexibility of adjusting the hardware specifications of existing board definitions through the use of devicetree overlay files and Kconfig fragments (Covered in the nRF Connect SDK Fundamentals course).

However, there are situations where we would like to create an entirely new board definition with its unique name and unique hardware specifications. This is usually the case when you have developed your schematics and own PCB for your Nordic-based product. We call this a “custom board” as the SDK itself does not provide it.

Important

The lesson covers how to define boards in the nRF Connect SDK up to version 2.6.1. It’s important to note that starting from version 2.7.0, the nRF Connect SDK uses a new hardware model (Hardware Model V2), which is not covered in this lesson.

Objectives

  • Examine the hardware support hierarchy in nRF Connect SDK and explore the different options to create custom board files and their cons and pros.
  • Understand the role of each of the mandatory files required to describe your hardware in nRF Connect SDK/Zephyr RTOS and all other optional and special use case files.
  • Learn how to convert hardware schematics to devicetree syntax using nRF Connect for VS Code extension and how to write your own Kconfig files for your own custom hardware.
  • Practice through a hands-on exercise creating a custom board for a single-core SoC.
  • Practice through a hands-on exercise creating a custom board for a multi-core & TF-M capable SoC.
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.